# Options

### Max Width

Set the maximum pixel width of your popup to avoid overspilling content.

### Popup Anchor

This will set where the popup opens. Normally this is set to bottom, so that the little triangle points down to the point clicked. You can change it to a variety of values.

### Close Button

Choose whether or not to have an "X" button to allow the user to close the popup directly.

### Close on Click

Choose whether or not the popup should close when another feature or the map is clicked.

### Close on Map Move

Select this to have the popup close as soon as the map moves.

### Center on Open <sup><sub>*<mark style="color:green;">\[Pro]</mark>*<sub></sup>

Center the popup window in the middle of the map when it opens.

### Zoom on Open <sup><sub>*<mark style="color:green;">\[Pro]</mark>*<sub></sup>

Zoom down to the points when the popup opens.

### Open to Modal <sup><sub>*<mark style="color:green;">\[Pro]</mark>*<sub></sup>

Instead of opening to a popup, open directly to a modal display that allows much more content and shortcodes.

### Starting Popup Position <sup><sub>*<mark style="color:green;">\[Pro]</mark>*<sub></sup>

If you've changed the size of your marker and now your popup appears a bit disconnected, or if you are having problems getting your hover to work, you might have to adjust the starting position of the popup relative to the marker. You can do that here by adding a custom distance to move the popup to the left, top, right, or bottom. The value is in pixels.


---

# 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/popups/popup-templates/options.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.
