From bfc0a30c84667a0039a423ebfb0f64b686933714 Mon Sep 17 00:00:00 2001 From: Johan Le Baut Date: Wed, 11 Jan 2023 18:14:48 +0100 Subject: [PATCH] autorise zoom 19 --- webapp/templates/app.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/webapp/templates/app.js b/webapp/templates/app.js index 6c1d701..0faa53c 100644 --- a/webapp/templates/app.js +++ b/webapp/templates/app.js @@ -111,7 +111,9 @@ function initMap(btn) { } L.tileLayer('https://{s}.tile.openstreetmap.fr/osmfr/{z}/{x}/{y}.png', { - attribution: '© OpenStreetMap contributors' + attribution: '© OpenStreetMap contributors', + maxNativeZoom: 19, + maxZoom: 19 }).addTo(map); map.on("zoom move", () => {