# ui.Map.GeometryLayer.setColor

<br />

Sets the CSS color of shapes in the layer.

<br />

Returns this map layer.

| Usage | Returns |
|---|---|
| `GeometryLayer.setColor(color)` | ui.Map.GeometryLayer |

| Argument | Type | Details |
|---|---|---|
| this: `ui.map.geometrylayer` | ui.Map.GeometryLayer | The ui.Map.GeometryLayer instance. |
| `color` | String | The color of the layer. |