autorise zoom 19

This commit is contained in:
Johan Le Baut 2023-01-11 18:14:48 +01:00
parent 296ed8da8a
commit bfc0a30c84

View file

@ -111,7 +111,9 @@ function initMap(btn) {
}
L.tileLayer('https://{s}.tile.openstreetmap.fr/osmfr/{z}/{x}/{y}.png', {
attribution: '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
attribution: '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors',
maxNativeZoom: 19,
maxZoom: 19
}).addTo(map);
map.on("zoom move", () => {