From a6d1fada6af5e5cbb2a7f2a5b7b0faef02f3eab7 Mon Sep 17 00:00:00 2001 From: diogo464 Date: Fri, 4 Oct 2024 19:29:55 +0100 Subject: increased max zoom on map --- content/static/main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/content/static/main.js b/content/static/main.js index d8debae..bd91690 100644 --- a/content/static/main.js +++ b/content/static/main.js @@ -61,7 +61,8 @@ function lib_setup_map() { var map = L.map(ELEM_ID_MAP).setView(DEFAULT_COORDINATES, DEFAULT_ZOOM); L.Icon.Default.imagePath = "/static/"; L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', { - maxZoom: 19, + maxNativeZoom: 19, + maxZoom: 25, attribution: '© OpenStreetMap' }).addTo(map); return map; -- cgit