> For the complete documentation index, see [llms.txt](https://kb.moomoo.agency/uni-cpo-4-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kb.moomoo.agency/uni-cpo-4-documentation/usage/options/google-map.md).

# Google Map

Adds a possibility to use Google Map and grab the address of the place marked by customer.

⚠️ In order to use this option a valid API key must be added on the [plugin's settings page](/uni-cpo-4-documentation/usage/plugins-settings.md). These are steps you have to do to create a proper google app and grab a valid API key:

* Go to [Google's Dev Console](https://console.developers.google.com/) and create a new project
* Open **Library** tab and enable these two APIs: **Geocoding API** and **Maps** **JavaScript API**
* Open **Credentials** tab and click on Create credentials blue button, choose \_API key \_type

![](/files/-M50Y1gwK18lHSwza5Mr)

* Configure the credentials properly and use its API key in the plugin (copy and paste on the plugin's settings page)

This option does the following:

* allows adding Google Map to the product form
* allows creating a marker on the map and turns the marker's LatLng into address
* sets the address as option's value and sends it to cart/order meta

This option *does not* calculate a distance or anything like this.
