title: Google Maps Api v3 - how to remove cluster icons?
body: <p>how can i remove all cluster icons (cluster markers) from map? tryed with advices like:</p>
  
  <p><a href="https://stackoverflow.com/questions/1544739/google-maps-api-v3-how-to-remove-all-markers">Google Maps API v3: How to remove all markers?</a></p>
  
  <p>... but it did not worked.</p>
  
  <p>can you help me how to achieve that?</p>
  
  <p>thank you in advance!</p>
  
  <p><strong>UPDATE (2010-11-23)</strong></p>
  
  <p>markers are stored in array with </p>
  
  <pre><code>var markersClust = Array();
  </code></pre>
  
  <p>... and are added with (combination with php):</p>
  
  <pre><code>markersClust.push(marker_&lt;?php echo $team["Team"]["id"]; ?&gt;);
  
  var markerClusterer = new MarkerClusterer(MyMap.map, markersClust, clusterOptions);
  </code></pre>
  
  <p>and it works fine.</p>
  
  <p>but, i can not remove them from a map, and it drives me...</p>
  
  <p>tryed to remove markers (and i did) with</p>
  
  <pre><code>for ( var i=0; i &lt; markersClust.length; i++) {
      markersClust[i].setMap(null);
  }
  markersClust = []; 
  </code></pre>
  
  <p>but cluster icons are stil on the map.</p>
  
  <p>also i tryed things like:</p>
  
  <pre><code>markerClusterer.clearMarkers();
  </code></pre>
  
  <p>and like</p>
  
  <pre><code>MyMap.preventDefault();
  MyMap.stopPropagation();
  MyMap.clearMarkers();
  </code></pre>
  
  <p>but, again, icons of the clusters are still there, on a map.</p>
  
  <p>what else do i have to do to remove those cluster icons from my map? please help...</p>