diff --git a/app/config.py b/app/config.py
index 91d88d8..aa9435a 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': 0
+ 'default_zoom': 0.15
}
},
}
diff --git a/templates/map.html b/templates/map.html
index e2a7641..68249de 100644
--- a/templates/map.html
+++ b/templates/map.html
@@ -426,10 +426,10 @@
Zoom
-
+
- 50%
+ 15%
@@ -538,7 +538,7 @@ function setZoom(nextZoom, keepCenter = true) {
const relativeX = oldZoom ? viewportCenterX / oldZoom : 0;
const relativeY = oldZoom ? viewportCenterY / oldZoom : 0;
- currentZoom = Math.min(3.5, Math.max(0, nextZoom));
+ currentZoom = Math.min(3.5, Math.max(0.15, nextZoom));
els.canvas.style.width = `${map.width * currentZoom}px`;
els.canvas.style.height = `${map.height * currentZoom}px`;
els.zoomSlider.value = Math.round(currentZoom * 100);