From 407addc91970db566ac3112fac8686625eab553d Mon Sep 17 00:00:00 2001 From: ppfeiffer Date: Thu, 19 Feb 2026 17:11:41 +0100 Subject: [PATCH] fix(map): Legende nach topleft verschoben (fixes #5) Co-Authored-By: Claude Sonnet 4.6 --- CHANGELOG.md | 6 ++++++ config.yaml | 2 +- static/js/map.js | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7436bdb..18a5c0a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## [0.8.5] - 2026-02-19 + +### Fixed +- **Kartenlegende Position**: Legende von `bottomright` nach `topleft` verschoben, + neben die Zoom-Steuerung (fixes Issue #5). + ## [0.8.4] - 2026-02-19 ### Added diff --git a/config.yaml b/config.yaml index 10832f4..f7eae65 100644 --- a/config.yaml +++ b/config.yaml @@ -1,4 +1,4 @@ -version: "0.8.4" +version: "0.8.5" bot: name: "MeshDD-Bot" diff --git a/static/js/map.js b/static/js/map.js index 148fa17..10be74a 100644 --- a/static/js/map.js +++ b/static/js/map.js @@ -140,7 +140,7 @@ function connectWebSocket() { } // Legend -const legend = L.control({ position: 'bottomright' }); +const legend = L.control({ position: 'topleft' }); legend.onAdd = function () { const div = L.DomUtil.create('div', 'legend'); div.innerHTML = 'Hops';