0

I am new to the Google clustered maps API and trying to use it in my website.

  <script src="http://maps.google.com/maps/api/js"></script> 
<script src="http://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclusterer/src/markerclusterer.js"></script>


function createcluster(){
alert(markerlist.length);
markerCluster = new MarkerClusterer(map, markerlist, {
        gridSize:40,
        minimumClusterSize: 2
    });
    }

I have used the above imports in a script tag and created markerCluster as shown in above code. I have checked markerlist, it is fine. But markerCluster is not being created. Can someone help me with this issue? Thanks in advance

Matt
  • 4,462
  • 5
  • 25
  • 35

1 Answers1

0

My answer to the following post regarding the Google MarkerCluster library should provide a solution:

MarkerCluster V3 stopped working properly

Community
  • 1
  • 1
Chris Cook
  • 2,821
  • 1
  • 20
  • 32