Browse Source
Merge pull request #4956 from vvlladd28/bug/map/clustrering
[3.3.0] UI: Fixed not correct work clustering market showed spidery effect
pull/4962/head
Igor Kulikov
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
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; |
|
|
maxZoom }: MapSettings = options; |
|
|
if (useClusterMarkers) { |
|
|
if (useClusterMarkers) { |
|
|
const clusteringSettings: MarkerClusterGroupOptions = { |
|
|
const clusteringSettings: MarkerClusterGroupOptions = { |
|
|
|
|
|
spiderfyOnMaxZoom: false, |
|
|
zoomToBoundsOnClick: zoomOnClick, |
|
|
zoomToBoundsOnClick: zoomOnClick, |
|
|
showCoverageOnHover, |
|
|
showCoverageOnHover, |
|
|
removeOutsideVisibleBounds, |
|
|
removeOutsideVisibleBounds, |
|
|
|