ui.Map.GeometryLayer.setShown

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

Sets the visibility of shapes in the layer.

Returns this map layer.

UsageReturns
GeometryLayer.setShown(shown)ui.Map.GeometryLayer
ArgumentTypeDetails
this: ui.map.geometrylayerui.Map.GeometryLayerThe ui.Map.GeometryLayer instance.
shownBooleanWhether the layer is shown.