When you zoom the map, dont you get any marker individualy?, so i guess when
you use markerclustered you put all of them into a array dont you? then you
must addd
GEvent.addEvent(marker,"click",function(point){
map.removeOverlay(marker);
for (int i =0; i<array.size(); i++){
if (array[i].latlng() = point) { array[i].remove()}
}
});
Or somthing like that, also you must declare your "Array" as a global
variable iguess >.<
2011/6/24 Barry Hathaway <[email protected]>
> Does anyone know how to remove or hide individual clusters when using
> MarkerClusterer? I have "setCalculator" to a function that counts the
> markers in my clusters based upon criteria in the marker. As such the
> counts can go to zero. In that case I would like hide the cluster.
> Thanks in advance.
>
> --
> 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.
>
>
--
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.