> But the sidebar should not be static. There should only shown the > markers which are currently visible on the map.
As you are using MarkerClusterer, you're going to have to work with it. For example, if there's a cluster in view, do want its individual markers in your sidebar, or something representing the cluster? The part of MarkerClusterer that you'll need to modify is the resetViewport() method I think. In there, you will have to count the markers in view, and if less than ten, construct the sidebar. Else blank it. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
