# Labels

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" %}
Labels can work together with [Icons](/locations/icons.md), creating a marker with text under or on it if you wish.
{% endhint %}

### Label Text

Enter the actual text to be shown in the label.

### Font

Choose from a variety of built-in fonts provided from an external open-source provider. To add more fonts to a Mapbox map, you should load that into your Mapbox Style itself.

### Font Size

Change the pixel size of your font.

### Color

Set the text color.

### Opacity

The transparency of your label.

### Rotation

Rotate the text.

### Position X & Position Y

You can set the text to be offset by a certain amount horizontally and vertically.

### Outline Width

By default, the text has a "halo". Set the width here.

### Outline Color

Set the color of the halo.

### Outline Blur

This affects the gradient with which the halo fades into the background.

### 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/labels.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.
