# 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: 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/maps/developer/embedding-maps.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.
