From 0de62d08bbde0a8a0f8fb121714d08548879ec27 Mon Sep 17 00:00:00 2001 From: "Karen A. Salamy" Date: Mon, 20 May 2024 19:41:35 -0700 Subject: [PATCH] Github Issue #72: Enhance Missions Detail View - Update#2 View updates and fixes. --- smdb/smdb/static/js/map_mission_filter.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/smdb/smdb/static/js/map_mission_filter.js b/smdb/smdb/static/js/map_mission_filter.js index 0ebf60ad..2af162d0 100644 --- a/smdb/smdb/static/js/map_mission_filter.js +++ b/smdb/smdb/static/js/map_mission_filter.js @@ -1,5 +1,8 @@ const map = L.map("map_mission_filter"); -const options = { minZoom: 1, maxZoom: 20 }; +map.options.minZoom = 1.5; +map.options.maxZoom = 20; +// const options = { minZoom: 2.49, maxZoom: 16 }; +// const options = { minZoom: 1, maxZoom: 20 }; const gmrt = L.tileLayer.wms( "https://www.gmrt.org/services/mapserver/wms_merc?",