On Sun, May 2, 2010 at 4:32 AM, Jean-Nicolas Boulay Desjardins < [email protected]> wrote:
> The problem is that when the markers are removed (setMap(null)) they > can't be shown again even when they are downloaded a second time... > you've got two arrays, one called "markers" containing the Markers, and the other called "markersArray" containing the marker ids, but these aren't synchronized properly. When new markers are downloaded, the entire "markers" array is emptied and each marker is setMap(null), but their ids remain in "markersArray" so the application thinks they are still on the map. Perhaps you should only remove markers that are no longer in the viewport. ... -- 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.
