MarkerClusterer
I've add a flag to pause markerClusterer behaviour.
It should work like this:
var mapMarkerCluster = new MarkerClusterer(map, markers, conf);
...
jQuery.on("myEvent", function(){
// maybe a resetViewport() could be necessary
mapMarkerCluster.onPause = true;
});
// From now on markerClusterer won't cluster markers
jQuery.on("myOtherEvent", function(){
mapMarkerCluster.onPause = false;
});
// From now on markerClusterer will cluster markers again
I've attached a diff file
Original issue reported on code.google.com by filippo....@gmail.com on 3 Jul 2013 at 8:37
Original issue reported on code.google.com by
filippo....@gmail.com
on 3 Jul 2013 at 8:37Attachments: