Currently using leaflet and angular framework for my use case. The more GPS locations and polylines I have on my map, the slower it gets. What should I do to optimize the performance. I need to be able to manage about 5000 pins and about 100 paths(polylines) created and the performance needs to be good enough for a user to interact and edit those routes easily.
Currenly I am running into major performance issues when I reach about 1500-2000 pins and about 20-30 polylines.
Performance problems:
- Map seems to be laggy and takes alot of time to load
- Map becomes more and more slow as more data is added.
- Browser memory seems to go up alot until it crashes.
Thank you!