Revert Leaflet’s maxBounds and its viscosity
They were commented out by error: when changing the SVG handling code, had to “look for” a stray polygon that was outside the image’s bounded area.
This commit is contained in:
parent
fcbbc5c22a
commit
70eb007ddd
|
@ -16,8 +16,8 @@
|
||||||
maxZoom: 2,
|
maxZoom: 2,
|
||||||
zoom: -1,
|
zoom: -1,
|
||||||
scrollWheelZoom: false,
|
scrollWheelZoom: false,
|
||||||
//maxBounds: latLngBounds,
|
maxBounds: latLngBounds,
|
||||||
//maxBoundsViscosity: 1.0,
|
maxBoundsViscosity: 1.0,
|
||||||
zoomSnap: 0,
|
zoomSnap: 0,
|
||||||
crs: L.CRS.Simple,
|
crs: L.CRS.Simple,
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue