Does anyone know how the API handles infowindows in this situation. E.g., I add 3000 markers with 3000 custom infowindows and lets say those infowindows have objects inside them like a chart component, maybe 10kb of memory each. Will the map API create 3000 chart instances and leave them in memory or will it create one and bind the data based on which infowindows is in view. Or does it create one, destroy it on infowindows close, and create a new one leaving it up to the garbage collector free up memory? On Aug 11, 2011 11:14 AM, "Shaun" <[email protected]> wrote: > Hi Mr. Socket, > > Jonathan Wagner did a great post on this and some other follow up and > developers like Kevin Luck who put out a clusterer that I used ideas/code > from to make my own version as well you can see the example and source by > right clicking on the page here: > http://shaunhusain.com/GoogleMapManyMarker/ > > The ManyMarkerHolder is my extension of OverlayBase where I'm handling doing > the drawing of the markers, essentially how this one works is you call to > addASingleMarker at a time passing it one of my LightMarkerVO objects which > is basically a plain object with just lat/lng and bitmap data associated > with it, the overlay itself can then be refreshed by invalidating it's > display list (and in the case of some variations of that code that I have > mark some booleans to indicate updateDisplayList needs to do work). Feel > free to pull the ManyMarkerHolder overlay and any related classes and modify > as you see fit, I make no guarantees as to the stability or production > readiness of the code as it's been modified pretty heavily since we've moved > to using it in production but it's a good example I think. > > For the original work check here: > http://www.scribblemaps.com/markerComplex/ > http://www.kelvinluck.com/2009/08/google-maps-for-flash-marker-clustering/ > > Let me know if there's something more specific you want looked at, post some > code if you can and link out to it to get more direct feedback. > > Shaun > > -- > You received this message because you are subscribed to the Google Groups "Google Maps API For Flash" group. > To view this discussion on the web visit https://groups.google.com/d/msg/google-maps-api-for-flash/-/LUvF_RcaK3wJ. > 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. >
-- 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.
