# Geolocation

Enable location filter in **`Wordpress > Mobile Options > Geo Locations`**&#x20;

Add google map API key in **`app > src index.html`** replace  **`YOUR_API_KEY`** with your google map API key.

```
<script src="https://maps.google.com/maps/api/js?key=YOUR_API_KEY&libraries=places"></script>
```

Enable **Geolocation API** and **Geocoding API** for your google map API key

1\) Login to your google cloud console - <https://console.cloud.google.com/apis/library>

2\) Search for **Geolocation API**

3\) Click on Geolocation API and enable it

4\) Search for **Geocoding API**

5\) Click on Geocoding API and enable it

6\) Search for **Places API**

7\) Click on Places API and enable it


---

# 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://mstoreappdocs.gitbook.io/mstoreapp/geolocation.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.
