Hello Team,

Thanks for a great module! My problem: On our page we have a gmap map with all our users. At some point the map stopped working properly with a javascript error in http://maps.gstatic.com/intl/en_ALL/mapfiles/285c/maps2.api/main.js:907, which states that the script is taking too long, or is hung. Apparently it depends on the amount of users which are simultaniously shown on the map. If I restrict the view of the map down to 10 users or so, all works fine. Also this problem does not occur on chrome. The problem occurs on Firefox 3+4 (windows + mac) and Safari (mac). If I quit the execution of this script, all seems to work fine though. If have no idea where to start debugging this, maybe somebody out there has a hint?

Thanks in advance.

David

Comments

huesforalice’s picture

PS: Check out http://vvvv.org/users/map to see the problem in action.

edg’s picture

Version: 6.x-1.1 » 6.x-1.x-dev

Been hunting high and low for a solution to this too. In my case, it's the GMap Location Block which was fine but now works sporadically when only user 1 is logged in and also in editing mode.

Have tried unsetting "optimize javascript files", disabled & cleared cache. Installed latest devs of 6 for Gmap and Location. still getting "javascript is required..." error message and Firebug is showing 450 _mF "Undefined" errors

huesforalice’s picture

edg, are you sure this is the same problem? You say you get a "javascript is required.." message, whereas in my case the script just hangs.

hutch’s picture

You may need to experiment with one of the Markermanagers.

edg’s picture

huesforalice, you're right different issue. Had tabs for many javascript error and posted it in wrong thread. Sorry.

ejohnson’s picture

Priority: Normal » Critical

This might be totally unrelated, since my map doesn't freeze the browser like the above link you posted, but running:

  • GMap Module: 6.x-1.x-dev
  • Location: 6.x-3.x-dev
  • GMap Blocks: 6.x-1.0

I get the following error:

Error: a is undefined
Source File: http://maps.gstatic.com/intl/en_us/mapfiles/api-3/4/4/main.js Line: 29

I get this error on every page of my website, even though I only have a Gmap on the Contact page.

If this is unrelated, please ignore.

huesforalice’s picture

Version: 6.x-1.x-dev » 6.x-1.1

edg: no problem
hutch: thanks for the tip I'll give it a try
ejohnson: I think your problem is probably unrelated, but I can't say that for sure.

huesforalice’s picture

Priority: Critical » Normal
Status: Active » Fixed

Turns out experimenting with the marker managers did the trick. I was using the Google Marker Manager, which I turned off. I'm now using the setting "No Manager" and it works. Thank again hutch for pointing me in the right direction.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.