From cb2e2b6429527af9c4cd77d1b371e97237d90f98 Mon Sep 17 00:00:00 2001 From: Vladyslav_Prykhodko Date: Thu, 22 Jul 2021 15:00:04 +0300 Subject: [PATCH] UI: Fixed not correct work clustering market showed spidery effect when active settings: zoom on click and max clustering zoom --- .../app/modules/home/components/widget/lib/maps/leaflet-map.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/maps/leaflet-map.ts b/ui-ngx/src/app/modules/home/components/widget/lib/maps/leaflet-map.ts index 9da5e679f4..178c17c791 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/maps/leaflet-map.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/maps/leaflet-map.ts @@ -101,6 +101,7 @@ export default abstract class LeafletMap { maxZoom }: MapSettings = options; if (useClusterMarkers) { const clusteringSettings: MarkerClusterGroupOptions = { + spiderfyOnMaxZoom: false, zoomToBoundsOnClick: zoomOnClick, showCoverageOnHover, removeOutsideVisibleBounds,