From 46aa483bbcad8e2d52af7f98dcb00443b1141790 Mon Sep 17 00:00:00 2001 From: Daniel Spitzer Date: Mon, 29 Dec 2025 11:27:59 +0100 Subject: [PATCH] =?UTF-8?q?Pop=20=C3=9Cbersichtsmap=20update=20*=20Gps=20D?= =?UTF-8?q?aten=20und=20Google=20Maps=20Verlinkung=20implementiert=20*=20A?= =?UTF-8?q?lle=20ausw=C3=A4hlen=20Checkbox=20implementiert?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/js/pages/Pop/PopMap.js | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/public/js/pages/Pop/PopMap.js b/public/js/pages/Pop/PopMap.js index 87a6c6ad3..1b25480f9 100644 --- a/public/js/pages/Pop/PopMap.js +++ b/public/js/pages/Pop/PopMap.js @@ -41,7 +41,15 @@ Vue.component('pop-map-modal', {
-
Kategorien
+
Kategorien
+
+
+ + +
+ +
@@ -112,6 +120,19 @@ Vue.component('pop-map-modal', { markers: [] }; }, + computed: { + allCategoriesSelected: { + get() { + return Object.keys(this.categories).every(key => this.visibleCategories[key]); + }, + set(value) { + Object.keys(this.categories).forEach(key => { + this.visibleCategories[key] = value; + }); + this.updateMap(false); + } + } + }, mounted() { // Prepare data const popsObj = window.TT_CONFIG.POPS || {}; @@ -239,6 +260,10 @@ Vue.component('pop-map-modal', {
Kategorie: ${categoryName}
Status: ${stateText}
Info: ${pop.location || '-'}
+
+ GPS: ${lat.toFixed(6)}, ${lng.toFixed(6)} + Google Maps +