Half Leaflet’s zoom delta

With a map the size of ours, it always seemed like things were either
too zoomed out or too zoomed in.
This commit is contained in:
jordi fita mas 2024-02-02 02:46:59 +01:00
parent 70eb007ddd
commit 28adeb38fc
1 changed files with 1 additions and 0 deletions

View File

@ -19,6 +19,7 @@
maxBounds: latLngBounds,
maxBoundsViscosity: 1.0,
zoomSnap: 0,
zoomDelta: 0.5,
crs: L.CRS.Simple,
});
map.fitBounds(latLngBounds);