> I have written some code to display around 2000 markers on a map and
> so clearly some sort of marker manager is needed. I have been trying
> to use MarkerManager, but on creating a new instance of it using:
>
> var mgr = new MarkerManager(map_canvas);
To be complete -
var map = new GMap2(document.getElementById('map_canvas'));
var mgr = new MarkerManager(map_canvas);
map_canvas would be an undefined javascript variable. What
MarkerManager needs to know is the javascript GMap2 object you want it
to operate on, which seems to me to be map ?
http://gmaps-utility-library-dev.googlecode.com/svn/trunk/markermanager/docs/examples.html
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---