# Your First Map

## Creating Geography Features

You can create a map without any geographies, but you probably want to at least show a point or an area on your map. To create a geography, select a Location (point), a Line, or a Polygon from the left hand side under "Maps" in your Wordpress menu.

![](/files/hoamrQk6JP3UmLdCt3o2)

For the sake of simplicity, let's create a single Location for this map. Locations come in a few flavors: circles, markers, and labels/icons. We'll just create a simple Marker. Click on Locations and you'll see the screen below.

![](/files/lasLp6Q3KqvdypbZLUvs)

Click to add the marker to the map, or just search an address anywhere on Earth in the search bar. Your marker will appear. Make sure you give a title to this post so you can find it later. You can adjust some settings below the map, such as color, opacity, etc, and then save the Location post.

{% hint style="info" %}
Learn more about [Creating Locations](https://wpmaps.mapster.me/documentation#0).
{% endhint %}

## Adding Locations to a Map

Now, you'll have to create a map to show this location on. Click on Maps on the left and add a new Map.

![](/files/EXM7k4ZDBNwEWAvBl2q6)

To keep it simple, let's just keep all the settings as default. Go to the "Features" tab under the map, and click on the Locations input. There, you'll see the title of your marker Location appear. Once you click it, it'll appear instantly on the map.

![](/files/BTwLCgsKulsSOtBo16ve)

Now you can try viewing this post directly to see the map with your Location on it. Or, go back to the main list of maps and get the shortcode for the map, and place it on any Page or Post in your site!

## Defining Access Tokens / API Keys

To use Mapbox GL JS instead of MapLibre, you'll need to get an access token from Mapbox. [Read more about that here](https://docs.mapbox.com/help/getting-started/access-tokens/). This access token is also needed for certain controls, specifically geocoders.

If you're using Google Maps, you'll need to enter [an API key](https://developers.google.com/maps/documentation/javascript/get-api-key) into the Maps > Settings page.

![](/files/IpZNhYmeWxFprzEm3DVH)

Once you have the access token or API key that you need, enter it into the Settings screen, or into a single Map if you don't want to set a default settings token for the whole plugin at once.


---

# 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/getting-started/guides/your-first-map.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.
