Decrease max cluster radius (#24322)

This commit is contained in:
Jan-Philipp Benecke 2025-02-19 20:34:49 +01:00 committed by GitHub
parent c5c067ef19
commit 5cddc6e5c6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -581,6 +581,7 @@ export class HaMap extends ReactiveElement {
this._mapCluster = Leaflet.markerClusterGroup({
showCoverageOnHover: false,
removeOutsideVisibleBounds: false,
maxClusterRadius: 40,
});
this._mapCluster.addLayers(this._mapItems);
map.addLayer(this._mapCluster);