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.GeometryLayerThe ui.Map.GeometryLayer instance.
shownBooleanWhether the layer is shown.