cyclestreets / bikedata

Cycling-related data platform
https://bikedata.cyclestreets.net
GNU General Public License v3.0
16 stars 2 forks source link

Collision data - add clustering support #10

Open mvl22 opened 7 years ago

mvl22 commented 7 years ago

The collision data suffers from the problem of overlaid points because the resolution of the original data is based on eastings/northings rather than real lat/lons.

There is currently a workaround in the form of jitter=1, but this causes points to move around as the map is redrawn. While this is partly solveable by #8, this is not a full solution.

A plugin such as Leaflet.markercluster is likely to help solve this. https://github.com/Leaflet/Leaflet.markercluster

May need some API provisioning.