Basic Marker Clustering

This is the basic example demonstrating marker clustering functionality. Markers are automatically grouped into clusters based on proximity.

Features:

let markers = new L.MarkerClusterGroup();

// Add markers
for (let i = 0; i < 100; i++) {
  let m = new L.Marker(randomLatLng);
  markers.addLayer(m);
}

map.addLayer(markers);

Interactive Controls: