This example demonstrates extreme-scale clustering by loading 50,000 real address points 5 times, resulting in 250,000 total markers. Shows the plugin's maximum performance capabilities with chunked loading and a progress bar.
let markers = new L.MarkerClusterGroup({
chunkedLoading: true,
chunkInterval: 200,
chunkDelay: 50
});
// Load 50,000 markers 5 times (250,000 total) with progress tracking
markers.addLayers(markerArray);
Features:
Tip: Watch the progress bar as markers load in batches to keep the browser responsive.