diff --git a/app/config.py b/app/config.py
index 0ffa436..daeb03d 100644
--- a/app/config.py
+++ b/app/config.py
@@ -98,7 +98,7 @@ DEFAULTS = {
},
'flip_y': False,
'image_size': {'width': 8000, 'height': 8000},
- 'default_zoom': 1.0
+ 'default_zoom': 0.05
}
},
}
diff --git a/templates/map.html b/templates/map.html
index e7e4069..d3ee697 100644
--- a/templates/map.html
+++ b/templates/map.html
@@ -426,7 +426,7 @@
Zoom
-
+
100%
@@ -470,17 +470,13 @@ const mapImageUrls = {
{% endfor %}
};
-let currentMap = "{{ default_map }}";
+let currentMap = "HaggaBasin";
let currentZoom = 0;
-let defaultZoom = 0.15;
+let defaultZoom = 0.05;
let activeMarkerId = null;
const enabledTypes = { player: true, vehicle: true, base: true };
-if (!mapOptions.some(map => map.key === currentMap) && mapOptions.length) {
- currentMap = mapOptions[0].key;
-}
-
-const mapDefaultZoom = (mapOptions.find(m => m.key === currentMap) || mapOptions[0] || {}).default_zoom || 0.15;
+const mapDefaultZoom = 0.05;
currentZoom = mapDefaultZoom;
defaultZoom = mapDefaultZoom;
@@ -536,7 +532,7 @@ function setZoom(nextZoom, keepCenter = true) {
const map = selectedMapConfig();
if (!map) return;
- currentZoom = Math.min(3.5, Math.max(0.15, nextZoom));
+ currentZoom = Math.min(3.5, Math.max(0.05, nextZoom));
els.canvas.style.width = `${map.width * currentZoom}px`;
els.canvas.style.height = `${map.height * currentZoom}px`;