3

I have used leaflet marker cluster to render the geojson.

I am rendering 1 million geojson data. This gives better performance when render the data, but when zooming the map, gives very slow performance.

How to avoid this issue?

I am using the events zoomstart and zoomend to show the spinner.

Even zoomstart starts only after 2 or 3 seconds. This is starting after 6 or 8 seconds.

 map.on("zoomstart", function (e) {map.spin(true);});
 map.on("zoomend", function (e) { map.spin(false); }); 

1 Answer 1

1

Use a different clustering plugin.

There are 10 listed for clustering/decluttering.

1
  • This is the same plugin I am using. But zooming gives worst performance
    – Jeeva Jsb
    Commented May 2, 2017 at 7:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.