Sets the visibility of shapes in the layer.
Returns this map layer.
Usage | Returns |
---|---|
GeometryLayer.setShown(shown) | ui.Map.GeometryLayer |
Argument | Type | Details |
---|---|---|
this: ui.map.geometrylayer | ui.Map.GeometryLayer | The ui.Map.GeometryLayer instance. |
shown | Boolean | Whether the layer is shown. |