I found http://gmapschunker.sourceforge.net it looks like it's exactly what I'm after.
On Apr 16, 12:21 pm, Dave <[email protected]> wrote: > This map will probably have 500-600 markers over the US. I'm trying > to use event listeners (and they work) to detect when the map moves > and zooms and then reloading all the markers within the bounds from a > MySQL db that produces xml. > > The problems come because the map size is pretty small(320x480) and > clicking on a marker to view the info window re-centers the map and as > a consequence reloads the xml and replots the markers. > > So I guess I'm looking for a few things. Ideally, I'd like to not > replot every marker on the map each time the page changes, I'd like to > just remove the out of bounds ones and add the new ones. > 1. How do I just detect and remove markers outside of the bounds? > 2. How do I compare markers within the bounds to the xml file so I > don't have to clearOverlays and replot them all? > 3. If I can take care of that I guess my centering issue goes away > because the markers won't be cleared and replotted. > > Maybe there is another solution? > > http://qorvisdev.com/test/googlemaps/index.html > > Thanks. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
