comparison client/src/components/map/toolbar/Toolbar.vue @ 1372:553aadd97087

new cross profile workflow (WIP) Needs fixing of some bugs and not so nice looks.
author Markus Kottlaender <markus@intevation.de>
date Tue, 27 Nov 2018 12:59:26 +0100
parents 86be0002cd10
children 92d9dec88add
comparison
equal deleted inserted replaced
1371:5b9b8eabcd01 1372:553aadd97087
1 <template> 1 <template>
2 <div class="ml-2"> 2 <div class="ml-2">
3 <div :class="'toolbar toolbar-' + (expandToolbar ? 'expanded' : 'collapsed')"> 3 <div :class="'toolbar toolbar-' + (expandToolbar ? 'expanded' : 'collapsed')">
4 <Identify></Identify> 4 <Identify></Identify>
5 <Layers></Layers> 5 <Layers></Layers>
6 <Cuttool></Cuttool> 6 <Profiles></Profiles>
7 <Linetool></Linetool> 7 <Linetool></Linetool>
8 <Polygontool></Polygontool> 8 <Polygontool></Polygontool>
9 <Pdftool></Pdftool> 9 <Pdftool></Pdftool>
10 </div> 10 </div>
11 <div @click="$store.commit('application/expandToolbar', !expandToolbar)" class="toolbar-button bg-info text-white"> 11 <div @click="$store.commit('application/expandToolbar', !expandToolbar)" class="toolbar-button bg-info text-white">
68 components: { 68 components: {
69 Identify: () => import("./Identify.vue"), 69 Identify: () => import("./Identify.vue"),
70 Layers: () => import("./Layers.vue"), 70 Layers: () => import("./Layers.vue"),
71 Linetool: () => import("./Linetool.vue"), 71 Linetool: () => import("./Linetool.vue"),
72 Polygontool: () => import("./Polygontool.vue"), 72 Polygontool: () => import("./Polygontool.vue"),
73 Cuttool: () => import("./Cuttool.vue"), 73 Profiles: () => import("./Profiles.vue"),
74 Pdftool: () => import("./Pdftool.vue") 74 Pdftool: () => import("./Pdftool.vue")
75 }, 75 },
76 computed: { 76 computed: {
77 ...mapGetters("map", ["getLayerByName"]), 77 ...mapGetters("map", ["getLayerByName"]),
78 ...mapState("map", ["lineTool", "polygonTool", "cutTool"]), 78 ...mapState("map", ["lineTool", "polygonTool", "cutTool"]),