# ui.Map.GeometryLayer.setShown

<br />

Sets the visibility of shapes in the layer.

<br />

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