- This topic has 1 reply, 1 voice, and was last updated 8 years, 7 months ago by .
-
Ticket
-
Google has changed their Maps API, so when you get an API error on your installation or the maps don’t show up, it is due to a Google update that requires API keys to be used from now on for all new domains that haven’t been registered by google after the 22nd of June. For more information please refer to this post https://googlegeodevelopers.blogspot.de/2016/06/building-for-scale-updates-to-google.html
So from now on you will need to generate an API key to integrate google maps.
Temporary Solution
For now, do the following:
1. Generate an API Key: https://developers.google.com/maps/documentation/javascript/get-api-key#key – Tutorial: http://www.wpgmaps.com/documentation/creating-a-google-maps-api-key/
2. Open /framework/inc/shortcodes.php and add ?key=XXX to line 580 where XXX is your generated API key.//maps.google.com/maps/api/js?key=XXX
In future
In the future we will include an API key field in the google maps element, so you don’t have to mess around with code, nevertheless generating an Google Maps API Key will still be mandatory from now on.
Google Maps & Address field?
Follow the guide below.
The topic ‘[Fix] Google Maps API Key (Unicon)’ is closed to new replies.