alexandra-c / leaflet-tracking-marker

✈ A React Leaflet library that allows developers to create custom markers that drifts to a certain point, computes their bearing angle using given coordinates and rotates accordingly.
MIT License
40 stars 13 forks source link

Support for large number of markers #32

Open chandan0815 opened 1 year ago

chandan0815 commented 1 year ago

Hey, when a large number of makers are used, say >1000, Leaflet cannot handle this by default and slows down quite a bit - Ref. Poor performance with many markers. I looked around a bit and one of the solutions suggested was to use Canvas - Ref. Large dataset of markers or dots in Leaflet. But that would take away the nice features that are now provided by react-leaflet-tracking-marker. It would be really nice if that solution is included in this library.