comparison client/src/components/map/MapPopup.vue @ 3309:80037790032d

client: fully implemented sections - added map layer with new style - implemented in identify tool, map popup and fairway availability dialog - added sidebar menu item
author Markus Kottlaender <markus@intevation.de>
date Fri, 17 May 2019 12:45:13 +0200
parents e37b8afd7bd9
children 271683dee9bf
comparison
equal deleted inserted replaced
3308:1128b29aed8b 3309:80037790032d
79 {{ section.get("objnam") }} 79 {{ section.get("objnam") }}
80 </div> 80 </div>
81 <button 81 <button
82 class="btn btn-xs btn-info" 82 class="btn btn-xs btn-info"
83 v-tooltip="fairwayAvailabilityLabel" 83 v-tooltip="fairwayAvailabilityLabel"
84 @click="openFairwayAvailabilityForSection(section)"
84 > 85 >
85 <font-awesome-icon icon="chart-line" fixed-width /> 86 <font-awesome-icon icon="chart-line" fixed-width />
86 </button> 87 </button>
87 </div> 88 </div>
88 </div> 89 </div>
227 this.$store.dispatch("map/moveToFeauture", { 228 this.$store.dispatch("map/moveToFeauture", {
228 feature: stretch, 229 feature: stretch,
229 zoom: 17 230 zoom: 17
230 }); 231 });
231 this.openFairwayAvailability(); 232 this.openFairwayAvailability();
233 },
234 openFairwayAvailabilityForSection(section) {
235 this.$store.commit("fairwayavailability/type", "sections");
236 this.$store.commit("imports/selectedSectionId", section.getId());
237 this.$store.dispatch("map/moveToFeauture", {
238 feature: section,
239 zoom: 17
240 });
241 this.openFairwayAvailability();
232 } 242 }
233 }, 243 },
234 mounted() { 244 mounted() {
235 const mapPopup = new Overlay({ 245 const mapPopup = new Overlay({
236 element: this.$refs["map-popup"], 246 element: this.$refs["map-popup"],