> For the complete documentation index, see [llms.txt](https://cranford-tech.gitbook.io/beautiful-maps-mapbox/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cranford-tech.gitbook.io/beautiful-maps-mapbox/loading-markers/removing-markers-from-a-map.md).

# Removing markers from a map

The Beautiful Maps - Mapbox plugin comes with two actions for removing markers from a map:

* Clear Markers A Mapbox Map (removes **all** markers from the map)
* Remove Single Marker A Mapbox Map (removes a single marker from the map)

### Remove Single Marker

While the 'Clear Markers' action does not require any information, you are required to specify which marker you want to remove for the 'Remove Single Marker' action.&#x20;

As outlined in the plugin action, you will need to provide a unique ID associated with a marker:

<figure><img src="/files/jgJIQ77AquF7KCiTWs4X" alt=""><figcaption></figcaption></figure>

You can assign a Unique ID to a marker that can be referenced later by including it in the 'Unique IDs' field on the '**Add List of Markers**' action:

<figure><img src="/files/5TX18z1gqTkoF2PiUGbC" alt=""><figcaption></figcaption></figure>

You can also assign a Unique ID to a marker when using the 'Add Single Marker' action:

<figure><img src="/files/XCqNdoWIGA8aw28iJxZq" alt=""><figcaption></figcaption></figure>
