ui.Map.GeometryLayer.setShown

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.GeometryLayer

The ui.Map.GeometryLayer instance.

shownBoolean

Whether the layer is shown.