Mercurial > gemma
comparison client/src/map/Maplayer.vue @ 1115:1b160eda22cf store-refactoring
moved drawMode to map store
author | Markus Kottlaender <markus@intevation.de> |
---|---|
date | Mon, 05 Nov 2018 14:05:01 +0100 |
parents | 595654ad3f66 |
children | 035dc35e1dfc |
comparison
equal
deleted
inserted
replaced
1114:8d12056d602a | 1115:1b160eda22cf |
---|---|
70 vectorSource: null | 70 vectorSource: null |
71 }; | 71 }; |
72 }, | 72 }, |
73 computed: { | 73 computed: { |
74 ...mapGetters("map", ["layers", "getLayerByName"]), | 74 ...mapGetters("map", ["layers", "getLayerByName"]), |
75 ...mapState("application", ["drawMode"]), | 75 ...mapState("map", ["openLayersMap", "drawMode"]), |
76 ...mapState("map", ["openLayersMap"]), | |
77 ...mapState("bottlenecks", ["selectedSurvey"]), | 76 ...mapState("bottlenecks", ["selectedSurvey"]), |
78 mapStyle() { | 77 mapStyle() { |
79 return { | 78 return { |
80 mapfull: !this.split, | 79 mapfull: !this.split, |
81 mapsplit: this.split | 80 mapsplit: this.split |