This example demonstrates high-performance clustering with 10,000 real address points. Showcases the plugin's ability to handle large datasets smoothly.
// Enable chunked loading for better performance
let markers = new L.MarkerClusterGroup({
chunkedLoading: true
});
// Add 10,000 real address points
addressPoints.forEach(function(a) {
let marker = new L.Marker([a[0], a[1]], {
title: a[2]
});
markers.addLayer(marker);
});
map.addLayer(markers);
Features:
Performance test: Demonstrates that the plugin handles large datasets without lag or stuttering.