Skip to content

Commit

Permalink
Github Issue mbari-org#72: Enhance Missions Detail View - Update#2
Browse files Browse the repository at this point in the history
View updates and fixes.
  • Loading branch information
ksalamy authored May 21, 2024
1 parent d2bee9c commit f7af9e0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion smdb/smdb/static/js/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ const apiKey =
"AAPK4f2bc64881714cb2b03b1b5798dd2b740wn2YfXp7EZuoC_GggsJw92b06Ou-ZhL1i0CU-haX0JwKr9Ve9ned4wNTOYlGu1x";
const basemapEnum = "ArcGIS:Oceans";
const options = {
minZoom: 1,
maxNativeZoom: 13,
maxZoom: 16,
exclusiveGroups: ["Base Maps 🌎 "],
Expand All @@ -30,6 +29,8 @@ const media_url = JSON.parse(document.getElementById("MEDIA-URL").textContent);

// Change the position of the Zoom Control to bottomright.
map.zoomControl.setPosition("bottomright");
map.options.minZoom = 2.495;
map.attributionControl.setPosition("bottomleft")

//Determine the BROWSER used - Important for ToolTip Date.parse
var browserName = fnBrowserDetect();
Expand Down

0 comments on commit f7af9e0

Please sign in to comment.