To show a map with Unlimited Elements Google Maps widgets, for example the Unlimited Google Maps widget, you need a Google Map API key. You create the key once in Google Cloud and add it in the plugin settings.
Step 1
Open Google Maps Platform in the Google Cloud console and select an existing project or create a new one.
Make sure that billing is enabled for the project. Google Maps Platform needs a billing account: without it, Google doesn’t show the map on your page.
Step 2
Enable these two APIs for the project:
- Maps JavaScript API: shows the map.
- Geocoding API: finds a place on the map from its address.
Step 3
Open Keys & Credentials, click Create credentials > API key and copy the new key.
Step 4
We recommend that you restrict the key, so other websites can’t use it. Click the key name to open its settings:
- Under Application restrictions, select Websites and add your website, for example
https://example.comandhttps://*.example.com. - Under API restrictions, select Restrict key and choose Maps JavaScript API and Geocoding API.
Click Save.
Step 5
In your WordPress dashboard, go to Unlimited Elements > General Settings and open the Integrations tab. Paste the key in the Google Map API Key field under Google Maps and click Save Settings.
Note: the Google API Key field above it is a different setting. It is for widgets that read data from Google services, such as Calendar, Places, Sheets and YouTube.
Now you can add Google Maps widgets to your pages. For more details about API keys, see the Google guide Set up the Maps JavaScript API.