Google Maps API
-
Hi guys, love your plugin and was just about to put a site live but started noticing I was getting error messages in the location search field and the map wasn’t showing.
Looking into it it looks like Google have changed the way their maps api works: https://googlegeodevelopers.blogspot.co.uk/2016/06/building-for-scale-updates-to-google.html so you now need a key to use the api.
I have had to manually add a key into the vebra_properties.php file:
Line 72:
wp_register_script('google-maps', 'https://maps.googleapis.com/maps/api/js?key=YOUR_KEY_HERE&libraries=places,drawing,geometry');
And line 75:
wp_enqueue_script('google-maps','https://maps.googleapis.com/maps/api/js?key=YOUR_KEY_HERE&libraries=places,drawing,geometry');
Just wondering if there will be a way to enter the key into the plugin in future?
Cheers
- The topic ‘Google Maps API’ is closed to new replies.