I am using MarkerClusterer in a Flex project where the map is on a page that is hidden at start up and then becomes visible when the user clicks on a button (multiple "pages" in a ViewStack container with a ToggleButtonBar controlling which page is visible). I've noticed that at first the markers do not cluster properly when the page the map is on becomes visible. The zoom is set to 3 at start up and as soon as I change the zoom then they cluster properly. Calling the MarkerClusterer:resetViewport() method with force = true after adding the marker array to the MarkerClusterer makes the visible markers cluster but when I pan the map to where other markers are, they are not clustered. Again, as soon as I change the zoom, those markers then cluster properly.
Is there a way to force the MarkerClusterer to re-cluster ALL markers (including those not currently visible) once the array of markers is added to it? -- 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.
