# Markers

Markers are displayed using a traditional "map markers" icon, and are HTML elements.&#x20;

To add one to your Location post, press "Replace Drawing" and click on the map, or search for a location, or enter a latitude and longitude.

{% hint style="info" %}
To set a **custom image** as your marker, use the Icon & Label Location type instead of the marker type (this is because Mapbox and Maplibre don't generally play very nicely with custom icons for traditional markers).
{% endhint %}

### Color

Set a color for the marker.

### Scale

Adjust the marker size.

### Rotation

Rotate the marker around a central point.

### Anchor

Choose where the marker is anchored to the underlying map point.

### Hover Effects <sup><sub>*<mark style="color:green;">\[Pro]</mark>*<sub></sup>

You can change the **Color, Scale,** and **Rotation** on hover.

### Default Zoom Level

Set the zoom level when this point is clicked or zoomed.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wpmaps-docs.mapster.me/locations/markers.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
