getLayerViewState

fun getLayerViewState(layer: Layer): LayerViewState?

Retrieve the layer's LayerViewState.

Return

the LayerViewState of the provided layer, or null if the view doesn't contain the given layer or this proxy's GeoView is not part of the composition

Since

200.4.0

Parameters

layer

the layer to retrieve the view state from