crossfilter-and-v3
crossfilter-and-v3 copied to clipboard
google Clustering
Hi, I was trying your example modifying with the google cluster, but I can't solve the issue, I rewrote the updatemarkers like this, but it doesn't work, it doesn't update any cluster at all, any suggestion?
unction updateMarkers() {
var pointIds = idGrouping.all(); for (var i = 0; i < pointIds.length; i++) { var point = pointIds[i]; var pointId = pointIds[i]; markers[pointId.key].setVisible(pointId.value > 0);
var marker = new google.maps.Marker({'position': latLng});
markers.push(marker);
}
markerCluster.addMarker(markers); }
thanks anyway, and great work, your project is the only one that I've found on the web that use crossfilter and googlemaps. I'm trying to create a map of earthquake in Italy with clustering mode.