Large numbers of markers and browser performance

55 views
Skip to first unread message

David Godfrey

unread,
May 2, 2023, 5:15:41 AM5/2/23
to Leaflet
Are there any recommended techniques to deal with the performance impact of large numbers of markers?

I have a map loading around 3000 markers I need to display. The initial load time to display the map is tolerable, but changing zoom levels or panning around the map results in a long wait of 10-20 seconds in order for the map to be usable again.

Many thanks!

Edwin Corrigan

unread,
May 2, 2023, 8:35:38 AM5/2/23
to leafl...@googlegroups.com
Hi David, 

Marker clustering might be something worth looking into for you. There are examples of 50 k points:


Best Regards, 

Edwin


Edwin Corrigan 



--

---
You received this message because you are subscribed to the Google Groups "Leaflet" group.
To unsubscribe from this group and stop receiving emails from it, send an email to leaflet-js+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/leaflet-js/7441be6a-6735-4186-ae8b-0220d860dfc1n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages