cutting-room-floor / markers.js

DEPRECATED: USE MAPBOX.JS
http://mapbox.com/mapbox.js
BSD 3-Clause "New" or "Revised" License
18 stars 9 forks source link

Clustering #29

Closed lxbarth closed 11 years ago

lxbarth commented 11 years ago

@tmcw

Often when using mmg I find myself in need for clustering. I've repeatedly hacked my way out of it Is this something that markers.js should support?

/cc @dhcole @hrwgc

tmcw commented 11 years ago

There's a clustering implementation with k-means in bonus/mmg_cluster.js - I know @dhcole has also implemented one that works better visually.

lxbarth commented 11 years ago

Ha, missed that. @dhcole - where's the one you implemented?

dhcole commented 11 years ago

My attempt was just hacked into MMG: https://github.com/dhcole/mmg/blob/gh-pages/src/site.js#L26-88

I would like to update this to be a plug in for markers.js, but have not had a chance to do so yet.

tmcw commented 11 years ago

clustr addresses this, and will continue to improve.