As described in the title:
Do I have to attach the API-Key somewhere?
Best regards
Harald
GGPKG: Show map shows Google Map with overlay
- Hopki
- Gnome
- Posts: 13018
- 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:
Then add your API:
Regards,
Hopki
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');
Code: Select all
wp_enqueue_script('googlemaps', 'https://maps.googleapis.com/maps/api/js?v=3&key=YOUR_KEY');
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/
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/
Hello Hopki,
thank you for your helpful support!
Have a nice and hopefully not so hot day!
Best regards
Harald
thank you for your helpful support!
Have a nice and hopefully not so hot day!
Best regards
Harald