# ui.Map.GeometryLayer

<br />

A layer of ee.Geometries for display as shapes on a ui.Map.

<br />

| Usage | Returns |
|---|---|
| `ui.Map.GeometryLayer(*geometries*, *name*, *color*, *shown*, *locked*)` | ui.Map.GeometryLayer |

| Argument | Type | Details |
|---|---|---|
| `geometries` | List\[Geometry\], optional | The geometries with which to initialize the layer. |
| `name` | String, optional | The name of the layer. |
| `color` | String, optional | The CSS color of shapes in the layer, for instance "white" or "#FFFFFF". Defaults to "#000000" (black). |
| `shown` | Boolean, optional | Whether to show the shapes in the layer. Defaults to true. |
| `locked` | Boolean, optional | Whether to lock shape editing in the layer. Defaults to false. |