Instructions:
1. copy
markersdc.js and
circle.png to corresponding folder and include
markersdc.js in your HTML.
<script type="text/javascript" src="./markersdc.js"></script>
2. make an JavaScript array containing the Google Maps markers you want to cluster
markers = [marker1, marker2, marker3, marker4];
3. make a new MarkersDC object in JavaScript for given map and markers array
markersDC = new MarkersDC(map, markers);
4.
[Optional] check the simple SETTINGS in
markersdc.js for more changes
Thats all, folks! :)
This library is licensed under the
Creative Commons Attribution-ShareAlike 3.0 Unported License.
2012, Milan Sulc