> For the complete documentation index, see [llms.txt](https://wpmaps-docs.mapster.me/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wpmaps-docs.mapster.me/maps/developer/embedding-maps.md).

# Embedding Maps

{% hint style="warning" %}
Available in Pro only.
{% endhint %}

Allowing external users or apps to embed your maps expands the breadth of your creativity hugely. We're also working on API options so you can call your map data from a mobile app! Get in touch if you need this ASAP.

**When you've installed Pro, the menu items under "Embed & API" will be visible when editing a Map**.

To embed a map, simply go to the Embed & API section when on a given Map edit screen, turn on Allow Embed, and copy the embed code that appears underneath. You can give this to other users or place it on other sites as needed.

### Setting Parameters

You can manually set the center and zoom of an embed code according to the URL if you like!

Set it using query strings on the URL that's given to you, for example like:

```
<iframe src="http://mapster-wordpress-maps-development.local/wp-content/plugins/mapster-wordpress-maps/admin/includes/mapster-embed-map.php?map_id=1609" />
```

You can add&#x20;

* \&latitude=\<lat value>
* \&longitude=\<lng value>
* \&zoom=\<zoom value>

to the URL, like

```
<iframe src="http://mapster-wordpress-maps-development.local/wp-content/plugins/mapster-wordpress-maps/admin/includes/mapster-embed-map.php?map_id=1609&latitude=0&longitude=0&zoom=2" />
```

### Permissions

However, you may not want your map to be embeddable anywhere on the internet. To only allow specific users, turn on **Protect Embed** and, in the text area below, enter each domain you want to allow on a separate line.

![](/files/JdMc9SsooljC49GfUOrP)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://wpmaps-docs.mapster.me/maps/developer/embedding-maps.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
