Merge pull request #6322 from pinkevmladchy/pinkevmladchy/Bug-in-zooming-of-the-Image-Map

[3.4] UI: Bug in zooming of the Image Map
This commit is contained in:
Igor Kulikov 2022-06-09 16:00:24 +03:00 committed by GitHub
commit 26310fa675
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -222,6 +222,7 @@ export class ImageMap extends LeafletMap {
maxZoom, maxZoom,
scrollWheelZoom: !this.options.disableScrollZooming, scrollWheelZoom: !this.options.disableScrollZooming,
center, center,
doubleClickZoom: !this.options.disableZoomControl,
zoomControl: !this.options.disableZoomControl, zoomControl: !this.options.disableZoomControl,
zoom: 1, zoom: 1,
crs: L.CRS.Simple, crs: L.CRS.Simple,