ZenphotoCMS Forum
Google Map plugin doesn't work ("g is undefined") - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: Plugins (https://forum.zenphoto.org/forum-6.html)
+--- Thread: Google Map plugin doesn't work ("g is undefined") (/thread-5722.html)



Google Map plugin doesn't work ("g is undefined") - schw - 2009-08-21

Hello, I want to use the Google Maps plugin in my gallery but the map won't be displayed in the Google window. The API key is correct and I didn't edit any code in the plugin functions. And there is a geotag in the EXIF data. The error is like "g is undefined" (see below).

http://www.eeeee.ch/photos/landscapes/IMG_0055.jpg.php

This is what firebug says:

g is undefined

anonymous((64.299443710091, -20.336028501636) Ye=64.299443710091 Va=-20.336028501636, 13, Object name=c, Object name=d, Object name=e)
http://maps.gstatic.com/intl/de_ALL/mapfiles/164e/maps2.api/main.js (line 579)

anonymous((-20.336028501636, 64.299443710091) x=-20.336028501636 y=64.299443710091, 4)
http://maps.gstatic.com/intl/de_ALL/mapfiles/164e/maps2.api/main.js (line 1477)

showmap()IMG_0055.jpg.php (line 87)

Error: if(b){var g=c||this.U||this.Ga[0],h=se(b...&P(this,"panbyuser");this.Pl(a,b,c,e)};\n
http://maps.gstatic.com/intl/de_ALL/mapfiles/164e/maps2.api/main.js (line 579)

So, how can i define "g". I'm not very skillful in jscript and can't see the problem - ... thanks a lot for your help!

Regards




Google Map plugin doesn't work ("g is undefined") - acrylian - 2009-08-21

Please try the nightly that has an update to this plugin.




Google Map plugin doesn't work ("g is undefined") - schw - 2009-08-21

Hmm.. ok. Now it doesn't work at all. Can't see anything. And I can't delete the pictures in my FTP program (permission denied).




Google Map plugin doesn't work ("g is undefined") - schw - 2009-08-21

But the plugin works with the nightly. Thanks a lot so far.




Google Map plugin doesn't work ("g is undefined") - sbillard - 2009-08-21

Google has changed some things which broke the original plugin. There was already a thread on this topic which a quick search would have found for you--including the solution to the problem.