This example demonstrates the singleMarkerMode option, which displays clusters even when they contain only a single marker. This creates a uniform visual
appearance.
let markers = new L.MarkerClusterGroup({
singleMarkerMode: true
});
// Even single markers appear as clusters
markers.addLayer(singleMarker);
Features:
Use case: When you want all markers to have the same visual treatment, regardless of whether they're clustered or standalone.