@@ -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
+