setLayerVisibility abstract method
- String layerName,
- VisibilityState visibility
Immediately changes the visibility of a specified map layer.
-
layerNameThe name of the map layer to be changed. -
visibilityThe new visibility state of the layer.
Implementation
void setLayerVisibility(String layerName, VisibilityState visibility);