I was wondering if you all have run into performance issue when a map has thousands of markers.
I have a map that has 7k+ markers and it’s currently being served from an xml file as your plugin suggests but the load time on the page is around 3 minutes. According to the network trace, the biggest piece of that is loading the xml data. If the page was functional during that time, it wouldn’t be an issue, but it is frozen.
Is there a way to limit how much data is loaded on page load? Or are there some performance tweaks that you can suggest?
Thank you for getting in touch, sorry to hear you are experiencing issues.
We’re actively looking into using Web Workers to do the heavy lifting, as parsing very, very large XML files will cause the browser to stall. Would you be able to share your data with us so we can test with it at our end?
We’re also looking into batched REST API loading for the future but Web Workers may well provide an immediate solution, subject to testing. Could you share the URL to your map page, or run an export in Maps -> Settings -> Advanced and send us your marker JSON?