UI: Fixed not correct work clustering market showed spidery effect when active settings: zoom on click and max clustering zoom

This commit is contained in:
Vladyslav_Prykhodko 2021-07-22 15:00:04 +03:00
parent 4ce9e0968d
commit cb2e2b6429

View File

@ -101,6 +101,7 @@ export default abstract class LeafletMap {
maxZoom }: MapSettings = options; maxZoom }: MapSettings = options;
if (useClusterMarkers) { if (useClusterMarkers) {
const clusteringSettings: MarkerClusterGroupOptions = { const clusteringSettings: MarkerClusterGroupOptions = {
spiderfyOnMaxZoom: false,
zoomToBoundsOnClick: zoomOnClick, zoomToBoundsOnClick: zoomOnClick,
showCoverageOnHover, showCoverageOnHover,
removeOutsideVisibleBounds, removeOutsideVisibleBounds,