title: Marker Clusterer doesn't work - Google Maps API
body: <p>I have a very simple example for marker clustering, and it doesn't work (I already assessed many posts in the forum).
  My problem is that the 13 markers are on the map, but no way to cluster them.</p>
  
  <p>Here under you'll find my javascript code. I followed this example:
  <a href="http://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclusterer/docs/examples.html" rel="nofollow">http://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclusterer/docs/examples.html</a></p>
  
  <p>In my HTML, I included both markerclusterer.js and markerclusterer_compiled.js</p>
  
  <p>Thank you in advance</p>
  
  <hr>
  
  <p>function initialize() {</p>
  
  <pre><code>var myOptions = {
      zoom: 4,
      mapTypeId: google.maps.MapTypeId.ROADMAP
  };
  
  var map = new google.maps.Map(document.getElementById('map'), myOptions);
  
  var pos = new google.maps.LatLng(-39.431441,-71.286622);
  map.setCenter(pos);
  
  var all = [
      [" -41.8675 ", " -73.827697"],
      [" -23.65 ", " -70.4"],
      [" -42.48014 ", " -73.762414"],
      [" -20.2167 ", " -70.142223"],
      [" -29.906301 ", " -71.250204"],
      [" -39.272254 ", " -71.977629"],
      [" -41.3167 ", " -72.9833"],
      [" -22.908707 ", " -68.199716"],
      [" -33.4625266 ", " -70.6512506"],
      [" -39.819586 ", " -73.24521"],
      [" -33.045646 ", " -71.620361"],
      [" -33.024527 ", " -71.55234"],
      [" -43.1216233 ", " -74.0300122"],
  ];
  
  for (var i = 0; i &lt; 25; i++) {
          var lat = all[i][0];
          var lng = all[i][1];
          var latLng = new google.maps.LatLng(lat, lng);
          var marker = new google.maps.Marker({map: map, position: latLng,});
          all.push(marker);
  }
  
  var markerCluster = new MarkerClusterer(map, all);  
  </code></pre>
  
  <p>};</p>