I currently have a set of markers, and I group them as follows:
var markerCluster = new MarkerClusterer(map, cm_mapMarkers);
But I also have a set of filters that I use to set markers that are visible both false and true. Unfortunately, when I set the setvisible (false) token, the number of clusters does not change.
So, I was looking for methods for this:
I tried the following:
MarkerClusterer.redraw(); MarkerClusterer.repaint();
Both results: does not have a method 'repaint' does not have a method 'redraw'
Here is the JSfiddle:
http://jsfiddle.net/tDYcX/30/
Does anyone know what I'm doing wrong?
Thanks in advance
Emrulez
source share