ui.Map.Layer.setShown

Sets the visibility of the layer.

Returns this map layer.

Usage Returns
Layer. setShown ( shown ) ui.Map.AbstractLayer
Argument Type Details
this: ui.map.abstractlayer
ui.Map.AbstractLayer The ui.Map.AbstractLayer instance.
shown
Boolean, optional Whether the layer is shown.
Create a Mobile Website
View Site in Mobile | Classic
Share by: