Check this out: http://www.shaunhusain.com/GoogleMapManyMarker/
This was from code from quite a few contributors namely Kevin Luck (the clusterer) and Jonathan Wagner (many marker test) I just mashed them together and added some mouse listener code per suggestions of Jonathan's I'm pretty sure. Think this achieves what you're looking for theirs just one overlay for all the markers and one overlay for the lines (could just be one I just divided for the logical distinction). Shaun On Dec 10, 12:07 pm, Bryan Dresselhaus <[email protected]> wrote: > Hello, > > I am adding a bunch of polygons to the map from encodedPolylineData. > Right now I am looping over my encodedPolylineData for each polygon > and adding an overlay through the addOverlay method. > > I am looking for ways to optimize adding many overlays at once. I > have a suspicion that calling addOverlay independently many times is > very inefficient. While I don't know the inner details of what the > google maps code does after each addOverlay call, I can be it is > redrawing the map. > > Anyone have suggestions? > > Regards, > > Bryan Dresselhaus -- You received this message because you are subscribed to the Google Groups "Google Maps API For Flash" 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-for-flash?hl=en.
