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 +