# Map.clear

<br />

Clears the map by removing all layers, listeners, and widgets and restoring the options to their defaults.

<br />

Returns the map.

<br />

| Usage | Returns |
|---|---|
| `Map.clear()` | ui.Map |

**No arguments.**