stability of gmap mashups

Events happening in the community are now at Drupal community events on www.drupal.org.
kevinwalsh's picture

I'm about to launch a site with a gmap.module/location.module node map, but all of a sudden my map/node page broke. My Firefox status bar tells me it's either "Connecting to www.acme.com..." or "Waiting for www.google.com...", but then it times out and produces a map without any markers, where there used to be 60.

Apparently i'm not the only one having problems. [zacker.org/mapdev/: as of 1am Wed May 24, no markers appear there either].

this makes me wonder about the longterm stability of using gmap macros. any ideas?

Comments

What is happening...

webgeer's picture

What the gmap.module does is simply provide an easy interface for writing the Google Map API javascript. It is not stable or unstable in itself.

The problem that is being experienced now is that acme.com (who provided and hosts the clusterer.js file) is down. This problem can be eliminated by providing a local copy of the js file, or by turning clusterer.js off.

If you have clusterer.js turned on then it looks in the misc directory and if clusterer.js (well actually the complete script name) is there it will load it from there, if not it will try and load it from acme.com (BTW, I asked permission to do this and he said he didn't have a problem with drupal users loading the js from his server)

A similar problem can happen when the Google Map server is having a problem (this rarely causes complete failure, but frequently causes some slow-down of page loading.) This problem is inherent in the Google Maps API.

Hopefully that gives some explanation as to what is happening.

Thanks for detailed explanation

Walt Esquivel's picture

webgeer,

Makes perfect sense now.

I took a look at the ACME Labs Freeware License which is a modified version of the BSD license. The Acme web site states:

BSD-style licenses say "Hey, do what you like, we don't care. Just let people know we wrote it, and don't sue us."

So, to avoid the variable of acme.com (who provided and hosts the clusterer.js file) being down, wouldn't it make sense to load the clusterer.js file onto one's server? Of course, the variable of the Google Map server having a problem would still exist.

Thanks.

Walt Esquivel, MBA, MA, Captain - U.S. Marine Corps (Veteran)
President, Wellness Corps, LLC

Walt Esquivel, MBA; MA; President, Wellness Corps; Captain, USMC (Veteran)
$50 Hosting Discount Helps Projects Needing Financing

great, i'll move the js

kevinwalsh's picture

great, i'll move the js fiile over. thanks for the details! Since the acme.com server was down last night, i was having trouble even finding info about it.

kevin

user 666

Location and Mapping

Group organizers

Group categories

Wiki type

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: