From 5cddc6e5c6e4ee7e71d4f24e3e80d5b7b55c9c60 Mon Sep 17 00:00:00 2001 From: Jan-Philipp Benecke Date: Wed, 19 Feb 2025 20:34:49 +0100 Subject: [PATCH] Decrease max cluster radius (#24322) --- src/components/map/ha-map.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/map/ha-map.ts b/src/components/map/ha-map.ts index b6c6ea9888..b752cc26ea 100644 --- a/src/components/map/ha-map.ts +++ b/src/components/map/ha-map.ts @@ -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);