Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Icon overlapping should be avoided #5

Open
marians opened this issue Apr 2, 2014 · 0 comments
Open

Icon overlapping should be avoided #5

marians opened this issue Apr 2, 2014 · 0 comments

Comments

@marians
Copy link
Member

marians commented Apr 2, 2014

Especially in the lower zoom levels (with many AED markers in the viewport), markers tend to overlap and thus degrade readability of the map.

Two options come to my mind:

  1. Use smaller markers, especially in lower zoom levels
  2. Use clustering. Leaflet Markercluster might be an option (https://github.com/Leaflet/Leaflet.markercluster, https://www.mapbox.com/mapbox.js/example/v1.0.0/leaflet-markercluster/). It can be tweaked heavily.
  3. Use a Google Earth style "spiderfier". See https://github.com/jawj/OverlappingMarkerSpiderfier-Leaflet and demos.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant