Hi everyone,

iam using Fluster 2.0.1.1 and i want to delete all the cluster created
within fluster. a removeCluster Method is not included in the fluster
release but someone included it, but it appears that this function did
work sometime but not anymore.

i spend over 1 h debugging everything but i did not sucseed in make
the cluster remove :(

function look like this:

function clearAll()
{
  for(var i = 0; i<15; i++)
  {
     for (var j=0; clusters[i] && j<clusters[i].length; j++) //mostly
clusters[i]  isnt even an object here
     {
     if (clusters[i][j].marker){
          clusters[i][j].marker.setMap(null);
          clusters[i][j].hide();
          clusters[i][j] = null;}
     }
   clusters[i]= null;
 }

  for (i = 0; i < me.markers.length; i++) {
  me.markers[i].setMap(null);
  }
  me.markers = new Array();
  clusters = new Object();
}


all i get is a "this[pb] is not a function" --> (84 out of range 38)
in main.js

someone can give me a hint how to remove all the clusters from
fluster ?

thx a lot

-- 
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 google-maps-js-api...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to