ui.Map.FeatureViewLayer.setShown

Stay organized with collections Save and categorize content based on your preferences.

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.