Page 1 of 1

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

Posted: Wed Jul 15, 2020 2:17 am
by ccyeh0901
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 :)

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

Posted: Mon Jul 20, 2020 8:37 pm
by Hopki
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,

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

Posted: Tue Jul 21, 2020 1:51 am
by ccyeh0901
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~~