By tom_o_t on
Is anyone else having problems with Gmap Maps not showing? I noticed several other Drupal-based sites using the Gmap module weren't displaying their maps today - including the site of Webgeer who I think did a lot of the development of this module - http://www.webgeer.com/map/user.
See also
http://www.greenmap.org/greenhouse (my site)
http://www.cmtickets.com/ another drupal 4.7 site
http://photo-tips.ca/map/node
I guess that something must have changed at Google's end for it to stop all Drupal-based maps working, but couldn't see anything in the Google API discussion board http://groups.google.com/group/Google-Maps-API
Anyone have any ideas?
Comments
Throttling of old version of API?
Bdragon on IRC suggested that Google may be throttling users of the old version of the API. So users with V2 of the Google API get first priority when maps are loaded. I don't know much about which version of the API is used in 4.7, and it's difficult to find out with Drupal.org being slow at the moment. But I'll post again if I find out more.
__________________________
http://www.thomasturnbull.com
http://twitter.com/thomasturnbull
Google Maps
Hi!
The maps on my 4.7.6 sites are not working either (and they were fine yesterday...)
Pete.
Fix
Fix found by liorkesos
http://drupal.org/node/146532
__________________________
http://www.thomasturnbull.com
http://twitter.com/thomasturnbull
Thanks!
Hi!
Thanks for the workaround; one of my clients is presenting the new site to his board tomorrow; I was anticipating a long night... now I can open a nice cold beer and chill instead!
Pete.
Seems to have broken again...
My maps have stopped working again - same javascript error about GLatLongBounds is undefined.
__________________________
http://www.thomasturnbull.com
http://twitter.com/thomasturnbull
a fix...
To get my maps working again I had to do a messy hack - commenting out the line:
Somewhere around line 153
The bounds variable is used for autozoom, so this will probably stop working if you use it. It also seems to be used with clusterer, but I've never managed to get clusterer working anyway, so I don't mind about that! I used this in combination with fix #6 above, to prevent the javascript errors about GIcon and _mFlags being undefined.
I hope someone with better bugfixing abilities can figure out what exactly's going on here...
__________________________
http://www.thomasturnbull.com
http://twitter.com/thomasturnbull
changing to
changing to define('GMAP_API_V', '2'); seems to fix mine !
Hope it will stay there, I hacked the module a bit so...
I use it for nodes location.
Check it at http://www.worldwale.com !!
Just change version to v2.69
Ignore my last comment about having to comment out a line of code - changing the version to 2.69 straightened everything out.
__________________________
http://www.thomasturnbull.com
http://twitter.com/thomasturnbull
I have several broken maps
I have several broken maps on 4.7 with the _mFlags and GLatLngBounds javascript errors. Changing the gmap module to "define('GMAP_API_V', '2.69');" or "define('GMAP_API_V', '2');" does not fix the errors and the map is still not showing.
Help! Should I try a different number?
OK - I solved that problem
OK - I solved that problem -- it had to do with 2 copies of the gmap module in the module folder (I didn't have permission to delete one.) It's all working OK now. Seems like I can only solve my own problems AFTER I've posted them to this board!
another stuck newbie
I am having the same problem, of just seeing a blank white rectangle where the map should be... I have changed the version to "2" and to "2.69" to no avail, I have verified my API key. Any other ideas out there?
Thanks