From 04408acaa9ea8f684bd73b4c3f631fc285be6920 Mon Sep 17 00:00:00 2001 From: Thomas Rudin Date: Tue, 26 Nov 2019 11:23:26 +0100 Subject: [PATCH] restrict map zoom to 11 --- static/js/map/MapFactory.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/map/MapFactory.js b/static/js/map/MapFactory.js index f3c67b3..9e7caec 100644 --- a/static/js/map/MapFactory.js +++ b/static/js/map/MapFactory.js @@ -16,7 +16,7 @@ export function createMap(node, layerId, zoom, lat, lon){ const map = L.map(node, { minZoom: 2, - maxZoom: 12, + maxZoom: 11, center: [lat, lon], zoom: zoom, crs: SimpleCRS