EddieHubCommunity / EddieHubLive

Map to show EddieHub contributors
https://live.eddiehub.io
MIT License
47 stars 39 forks source link

Markers overlap issue #16

Closed alrifay closed 1 year ago

alrifay commented 4 years ago

Overlapped marker should be replaced with one marker contains total count. For example: image

I found this leaflet plugin that does that Leaflet.markercluster

amandamartin-dev commented 1 year ago

I can take this on next! Edit for dataaaaa

amandamartin-dev commented 1 year ago

Created some test data locally and poking around a bit.

It seems that react-leaflet (currently in the project) does not have an implementation of Marker cluster in it. I found 2 different wrapper libraries that could work. Lmk if there are any thoughts about which would be better (or neither)

https://github.com/giovanesantossilva/react-leaflet-muster https://github.com/akursat/react-leaflet-cluster