# Map Tiles

### Map Provider

You must choose a **Map Provider**. This is the only setting that requires an "Update" of the post and reload in order to change.

This is where the map tiles will be loaded from and affects the general map functionality available to you as well as the basic look of the map.

{% hint style="warning" %}
You need to enter a [Mapbox Access Token](https://account.mapbox.com/access-tokens) in order for the "Mapbox" option to work! If you're using Google Maps, [you'll need an API key](https://developers.google.com/maps/documentation/javascript/get-api-key).
{% endhint %}

### Access Token <sup><sub>*<mark style="color:blue;">\[Mapbox]</mark>*<sub></sup>

You can set an **access token** for a map specifically, or, if you've entered a Default Mapbox Access Token in your settings, it will automatically appear when you create a new map.

{% hint style="info" %}
For Google Maps API Key, you need to enter that in the **Settings** area of the plugin.
{% endhint %}

### Map Tile Style <sup><sub>*<mark style="color:blue;">\[Maplibre, Mapbox]</mark>*<sub></sup>

Click the button to open a selector for many different map styles. There are **Free Styles**, which are usable with Maplibre with no access token. Then there are **Mapbox Styles**, usable with an access token from Mapbox. Finally, there are **Mapster Pro Styles**, which are available in the [Pro version](https://wpmaps.mapster.me/pro/) of the plugin.

If you have any suggestions of more styles to add, please let us know.

### Snazzy Map Style <sup><sub>*<mark style="color:blue;">\[Google Maps]</mark>*<sub></sup>

Then you can enter in a string from [Snazzy Maps](https://snazzymaps.com/) here to style your Google Map the way you want.

### Custom Style URL <sup><sub>*<mark style="color:blue;">\[Maplibre, Mapbox]</mark>*<sub></sup>

If you're using Mapbox and you've created your own Style that you want to use, enter the style URL here. You can find this from the Styles page or when editing/saving a Style in Mapbox.

<figure><img src="/files/TRxVJGVDGkzI0sCmZPcz" alt=""><figcaption><p>Finding a style in Mapbox.</p></figcaption></figure>

### Custom Style JSON <sup><sub>*<mark style="color:blue;">\[Maplibre, Mapbox]</mark>*<sub></sup>

This is for adding other providers, including custom tilesets, maps from Maptiler, or other sources. Make sure that you understand the [Mapbox Style JSON](https://docs.mapbox.com/style-spec/guides/) and replace the elements you need and paste into this box.

### 3D Terrain <sup><sub>*<mark style="color:blue;">\[Mapbox]</mark>*<sub></sup>

Add Mapbox [3D Terrain](https://docs.mapbox.com/mapbox-gl-js/example/add-terrain/) to the map.

### 3D Buildings <sup><sub>*<mark style="color:blue;">\[Mapbox,</mark>*<sub></sup><sup><sub>*&#x20;*<sub></sup><sup><sub>*<mark style="color:green;">Pro</mark>*<sub></sup><sup><sub>*<mark style="color:blue;">]</mark>*<sub></sup>

Add Mapbox [3D Buildings](https://docs.mapbox.com/mapbox-gl-js/example/3d-buildings/) to the map.

### Globe <sup><sub>*<mark style="color:blue;">\[Mapbox,</mark>*<sub></sup><sup><sub>*&#x20;*<sub></sup><sup><sub>*<mark style="color:green;">Pro</mark>*<sub></sup><sup><sub>*<mark style="color:blue;">]</mark>*<sub></sup>

You can display the map as a 3D globe here.

You can also select the **Globe Background** and make it transparent or a Stars & Fog look.

### Projection <sup><sub>*<mark style="color:blue;">\[Mapbox]</mark>*<sub></sup>

You can choose from amongst a variety of Mapbox-supported projections.

### Language <sup><sub>*<mark style="color:blue;">\[Mapbox,</mark>*<sub></sup><sup><sub>*&#x20;*<sub></sup><sup><sub>*<mark style="color:green;">Pro</mark>*<sub></sup><sup><sub>*<mark style="color:blue;">]</mark>*<sub></sup>

You can select from amongst a set of Mapbox-supported languages.

### Duplicate Horizontally

By default, the map will scroll infinitely to east and west. If you only want one copy of the map, adjust here.


---

# 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/map-tiles.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.
