ui.Map.FeatureViewLayer.setShown

Sets the visibility of the layer.

Returns this map layer.

UsageReturns
FeatureViewLayer.setShown(shown)ui.Map.AbstractLayer
ArgumentTypeDetails
this: ui.map.abstractlayerui.Map.AbstractLayerThe ui.Map.AbstractLayer instance.
shownBoolean, optionalWhether the layer is shown.