codeforsanjose / MobilityMap

Allows citizens to engage public transit authority on a map in real-time
GNU General Public License v3.0
2 stars 1 forks source link

Cluster Units for MapBox #62

Open zpallin opened 8 years ago

zpallin commented 8 years ago

The MapBox markers need to be clustered when they are near each other. Apparently this is sorta easy to do.

https://www.mapbox.com/mapbox.js/example/v1.0.0/leaflet-markercluster/

zpallin commented 8 years ago

https://github.com/codeforsanjose/MobilityMap/tree/issue-62

zpallin commented 8 years ago

I think that for this issue, we may need to entirely rework the way that mobilitymap clusters away from Shareabouts, or we will definitely need to create our own method. I'll start with the latter, because I am not completely satisfied with the clustering of mapbox's leaflet technique in that it won't address issues that are right on top of each other.

3vivekb commented 8 years ago

Oh no! Maybe the alternative is the system is designed to have issues that don't show up very often? Or you cycle through issues within a certain area?

zpallin commented 8 years ago

Cycling through issues in certain areas is what I believe would be the best approach. I don't want to limit the visibility of issues too much.