Thanks Mike, I add all of the markers to an array and then feed that array to the MarkerManager. Then I refresh() the MarkerManager which plots all 1500 on the map. It takes a few seconds and I can see them plotting, not all appearing at once, but I am ok with that performance. That does not give me the slow script error. Then when I zoom in, I get the slow script error. As far as I know all MarkerManager does is remove the overlays of the markers outside the viewport plus padding. I get the error when I zoom in a few steps and it goes from all 1500 markers to maybe 100.
On Dec 23, 1:57 pm, Mike Williams <[email protected]> wrote: > I suspect that your analysis of what's happening is flawed, because > MarkerManager can only ever call map.removeOverlay() on the markers that > are currently addOverlay()ed. You won't have all 1500 markers all > addOverlay()ed at the same time because MSIE would grind to a halt when > you tried to addOverlay() them, since addOverlay() requires far more > processing than removeOverlay(). > > -- > Mike Williamshttp://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.
