# Map

### Summary

The Map component allows you to display a map.

This section shows you how to add a Map.

Below is a Map.

<figure><img src="/files/Sd4yZD9kELQgcA7d44na" alt=""><figcaption></figcaption></figure>

### How to add a Map

Step 1: Go to the page you'd like to add the Map to (or create a new page) and in the Content tab, Components section, select Map from the dropdown list.

<figure><img src="/files/b2g60R01zriuo49QS60t" alt=""><figcaption></figcaption></figure>

Step 2: Fill in the fields as per below.

<figure><img src="/files/B21PAwIIzmVtd3a6vhtU" alt=""><figcaption></figcaption></figure>

1. Embed URL - Add the URL of the map in this field.
2. Address - Add the physical address in this field.
3. View link - Add the URL of the external map.
4. Theme - Choose the light or dark theme.
5. Vertical spacing - Add vertical spacing on the component (above, below or above AND below).
6. Background - Check this box to apply a background colour.


---

# 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://docs.civictheme.io/content-authoring/components/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.
