Using map_only="1" attribute not work in Joomla! plugin

Everything concerning the Wordpress/Joomla/Drupal plugins
Post Reply
ccyeh0901
Posts: 17
Joined: Tue Jul 14, 2020 11:51 am

Wed Jul 15, 2020 2:17 am

Hi~ I just installed ggpkg plug in my Joomla! project and show the ggpkg data succesfully, As I want to show only the map (which is a floor plan custom made), ,
Here is the short code I use to show only the map
{ggpkg file="now" map_only="1"}

but not work, show blank screen and see only warning message "Google Maps JavaScript API warning: NoApiKeys" in cosole, but my floor plan is not concerned with goole map.

if I remove map_only="1", ggpkg is shown again.

Just wonder if anyone have this problem, and any suggestion is much appreciated :)
Attachments
螢幕快照 2020-07-15 上午8.04.27.jpg
螢幕快照 2020-07-15 上午8.04.27.jpg (244.81 KiB) Viewed 870 times
Last edited by ccyeh0901 on Tue Jul 21, 2020 2:42 am, edited 1 time in total.
User avatar
Hopki
Gnome
Posts: 10748
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Mon Jul 20, 2020 8:37 pm

Hi,
Have you set your Map API key in the skin?
Please see this page: https://ggnome.com/doc/google-api/
You need the Map Element API.
Regards,
Hopki
Garden Gnome Software 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/
ccyeh0901
Posts: 17
Joined: Tue Jul 14, 2020 11:51 am

Tue Jul 21, 2020 1:51 am

Thanks, I've filled the google map API key with no any restriction set but still get the same message "Google Maps JavaScript API warning: NoApiKeys"~ Besides, I didn't use the google map but my own floor plan map....><
BTW, I wonder if I can switch to map_only mode in a pano2vr project, because I have a project may show the floor plan(map) only, no need to go into the panorama scene. Thanks very much~~
Post Reply