> For the complete documentation index, see [llms.txt](https://docs.super-forms.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.super-forms.com/elements/html-elements/google-map-element-wordpress-form.md).

# Google map element WordPress form

{% hint style="info" %}
When using the Google Map element you must have a valid API key. You can obtain an API key from within your [API manger](https://console.developers.google.com/). Make sure to enable the `Google Maps JavaScript API` for your API.
{% endhint %}

You can find the google map element under `HTML Elements` > `Google Map`.

**The Google Map comes with several features:**

* Option to set region code e.g `nl`, `de`, `uk`, `us` etc.uu
* Option to set/adjust `zoom`
* Option to enable/disable `UI (buttons)`
* Option to `draw Route` from address A (origin) to address B (destination)
* Option to optionally display the `directions panel` (list with route instructions)
* Option to set it's travel mode `DRIVING`, `BICYCLKING`, `TRANSIT`, `WALKING`
* Option to populate `distance` to field (including Calculator element)
* Option to populate `duration` to field (including Calculator element)
* Option to define the unit system `METRIC` or `IMPERIAL`
* Option to draw Route with `Waypoints` (stops in between the route)
* Option to optimize route with waypoints (to rearrange it in a more efficient order)
* Option to avoid `Ferries`, `Major highways`, `Toll roads` (if possible)


---

# 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://docs.super-forms.com/elements/html-elements/google-map-element-wordpress-form.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.
