From de3212b31f067d6dbd70af5f886f347c386aae32 Mon Sep 17 00:00:00 2001 From: Sutider Date: Sat, 16 May 2026 15:27:37 +0100 Subject: [PATCH] Calibrate HaggaBasin: corner1=(-456752,-450630), corner2=(354547,353821) --- app/config.py | 8 ++++---- templates/map.html | 7 +++++-- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/app/config.py b/app/config.py index 02fa62e..f50eaf9 100644 --- a/app/config.py +++ b/app/config.py @@ -91,10 +91,10 @@ DEFAULTS = { 'image': 'maps/HaggaBasin_8k.webp', 'label': 'Hagga Basin', 'bounds': { - 'min_x': 21352, - 'max_x': 23166, - 'min_y': 233981, - 'max_y': 237943 + 'min_x': -456752.21, + 'max_x': 354547.46, + 'min_y': -450630.14, + 'max_y': 353821.95 }, 'flip_y': False, 'image_size': {'width': 8000, 'height': 8000}, diff --git a/templates/map.html b/templates/map.html index 377d23a..754f5cd 100644 --- a/templates/map.html +++ b/templates/map.html @@ -87,16 +87,19 @@ margin: 24px; background: #0d0f0f; box-shadow: 0 10px 34px rgba(0, 0, 0, 0.35); + display: inline-block; + min-width: 100%; + min-height: 100%; } .map-image { position: absolute; - inset: 0; + top: 0; + left: 0; width: 100%; height: 100%; object-fit: contain; user-select: none; - pointer-events: none; } .map-image-credit {