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:
jordi fita mas 2024-02-02 02:45:47 +01:00
parent fcbbc5c22a
commit 70eb007ddd
1 changed files with 2 additions and 2 deletions

View File

@ -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,
}); });