That is a weird error. I'd expect that in MSIE, but in FF I'd expect it
to tell you that map is undefined.

Your map variable is local to your setupMap() function, so on this line
  var mgr = new MarkerManager(map, mgrOptions);
I'd expect map to be undefined, but somehow it's a reference to the
HTMLElement of the <div> that contains the map.

Anyway, the fix is to make global any variables that you're going to
need outside setupMap().

-- 
Mike Williams
http://econym.org.uk/gmap



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to