Sign up to Our

NEWSLETTER


 
Knowledgebase
How to get a Google Map API key?
Posted by Edward T. on 04 April 2017 04:28 AM

Since June 2016, Using Google Maps (on public websites) requires an API key.

Here we explain how to get one and set it in the right place at the WPL.

1. Login into your google account and follow this link
Then click on the "Get a key" button.

 

2. Click "Select or create project"

 

3. and choose the last one, "Create a new project"
Enter a name for the project and finally click "Create and Enable API"

 

4. Wait while the API is creating,
Then you will get a message about successful creation like following,

Copy the content at "Your API key" field and then click the "Go to console" link.

 

5. Google API console page will be opened.
In the left sidebar, choose "Credentials".

Then in the opened page, choose the "edit" button of the API key. 

 

6. You should restrict the key to your website in this page.

Enter your website, or websites address here.

Make sure you are entering your website with both following formats:
yourwebsite.com/*
*.yourwebsite.com

Finall click "Save" to save the changes.

 

7. Follow Wordpress Admin -> WPL -> Settings -> Global and paste it in the "Google API Key" field.

 

Well done!


Comments (2)
Andrei Ploshkin
16 August 2016 12:49 PM
What for I have to set Google API key? The settings is empty now and Google Map seems to be working.
Melanie M.
20 November 2016 04:29 AM
From June 22nd, 2016 Google won't provide service for keyless requests, so you should set a Google API key into WPL- > Settings -> Global -> Google API key.
Please check following article for further information:
http://googlegeodevelopers.blogspot.co.uk/2016/06/building-for-scale-updates-to-google.html