On Jun 10, 7:37 am, Nathan Raley <[email protected]> wrote: > And it is tossing an error when trying to add the Markers this way. >
What kind of error is being thrown? have a look at this page which shows how to use the V3 MarkerManager: http://google-maps-utility-library-v3.googlecode.com/svn/tags/markermanager/1.0/docs/examples.html because almost everything in the V3 api is asynchronous, the marker manager isn't ready until it notifies listeners with a "loaded" event. Here's a snippet from the examples page: function setupWeatherMarkers() { mgr = new MarkerManager(map); google.maps.event.addListener(mgr, 'loaded', function() { mgr.addMarkers(getWeatherMarkers(20), 3); mgr.addMarkers(getWeatherMarkers(200), 6); mgr.addMarkers(getWeatherMarkers(1000), 8); mgr.refresh(); }); } ... -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
