GGPKG: Show map shows Google Map with overlay

Everything concerning the Wordpress/Joomla/Drupal plugins
Post Reply
User avatar
panox
Posts: 308
Joined: Mon Mar 12, 2007 11:03 pm
Contact:

As described in the title:
snap5530.jpg
snap5530.jpg (225.37 KiB) Viewed 5771 times

Do I have to attach the API-Key somewhere?

Best regards

Harald
User avatar
Hopki
Gnome
Posts: 13015
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi Harald,
The Map option in the plugin was before we had maps in the skin editor and before Google started charging so was a stop gap that never got removed.
Our preferred/suggested way would be you deselect this and use the map skin element which can use your API key.

However if you like the idea of the map below the pano then you can manually add you API in the ggpkg-import.php file.
wp/wp-content/plugins/ggpkg-import/ggpkg-import.php
Find:

Code: Select all

wp_enqueue_script('googlemaps', 'https://maps.googleapis.com/maps/api/js?v=3.exp');
Then add your API:

Code: Select all

wp_enqueue_script('googlemaps', 'https://maps.googleapis.com/maps/api/js?v=3&key=YOUR_KEY');
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
User avatar
panox
Posts: 308
Joined: Mon Mar 12, 2007 11:03 pm
Contact:

Hello Hopki,

thank you for your helpful support! :D
snap5533.jpg
snap5533.jpg (189.15 KiB) Viewed 5763 times
Have a nice and hopefully not so hot day!

Best regards

Harald
Post Reply