Vizzuality / cartodb-leaflet

Use your CartoDB table with Leaflet
http://vizzuality.github.com/cartodb-leaflet
62 stars 26 forks source link

Point Clustering #12

Open ns-1m opened 12 years ago

ns-1m commented 12 years ago

http://developers.cartodb.com/examples/point-clustering.html

Point clustering

Using some features of SQL and the Carto styling in CartoDB you can perform some simple point clustering in your maps. Here is an example where we cluster points based on zoom level and rounding and then grouping of points by the latitude and longitude coordinates.

Can we get it ported to cartodb-leaflet?

Thanks.

xavijam commented 12 years ago

Hi ns-1m!

Sorry to answer you late. You could port the example easily just changing dynamically the query and the carto css.

Cheers!