How do i integrate clustering for my google map? I have found a few codes but i'm not sure how to combine both so that it won't mess up the whole site.
This is my current code:
This is the code i found on Google Map Utility Library:
var center = new google.maps.LatLng(37.4419, -122.1419);var options = { 'zoom': 13, 'center': center, 'mapTypeId': google.maps.MapTypeId.ROADMAP};var map = new google.maps.Map(document.getElementById("map"), options);var mc = new MarkerClusterer(map);
أكثر...
This is my current code:
This is the code i found on Google Map Utility Library:
var center = new google.maps.LatLng(37.4419, -122.1419);var options = { 'zoom': 13, 'center': center, 'mapTypeId': google.maps.MapTypeId.ROADMAP};var map = new google.maps.Map(document.getElementById("map"), options);var mc = new MarkerClusterer(map);
أكثر...