comparison client/src/components/toolbar/Toolbar.vue @ 2596:8774054959a7

client: added Gauges dialog/tool to show waterlevel diagrams
author Markus Kottlaender <markus@intevation.de>
date Tue, 12 Mar 2019 12:07:02 +0100
parents bb5286acfee2
children 6c5364ff0abb
comparison
equal deleted inserted replaced
2595:dda4cec8e67b 2596:8774054959a7
4 :class=" 4 :class="
5 'rounded-top toolbar toolbar-' + 5 'rounded-top toolbar toolbar-' +
6 (expandToolbar ? 'expanded' : 'collapsed') 6 (expandToolbar ? 'expanded' : 'collapsed')
7 " 7 "
8 > 8 >
9 <Identify class="pointer"></Identify> 9 <Identify class="pointer" />
10 <Layers class="pointer"></Layers> 10 <Layers class="pointer" />
11 <Profiles class="pointer"></Profiles> 11 <Profiles class="pointer" />
12 <Linetool class="pointer"></Linetool> 12 <Gauges class="pointer" />
13 <Polygontool class="pointer"></Polygontool> 13 <Linetool class="pointer" />
14 <Pdftool class="pointer"></Pdftool> 14 <Polygontool class="pointer" />
15 <Pdftool class="pointer" />
15 </div> 16 </div>
16 <div 17 <div
17 @click="$store.commit('application/expandToolbar', !expandToolbar)" 18 @click="$store.commit('application/expandToolbar', !expandToolbar)"
18 class="toolbar-button toolbar-toggle rounded-bottom bg-info text-white" 19 class="toolbar-button toolbar-toggle rounded-bottom bg-info text-white"
19 > 20 >
118 Identify: () => import("./Identify.vue"), 119 Identify: () => import("./Identify.vue"),
119 Layers: () => import("./Layers.vue"), 120 Layers: () => import("./Layers.vue"),
120 Linetool: () => import("./Linetool.vue"), 121 Linetool: () => import("./Linetool.vue"),
121 Polygontool: () => import("./Polygontool.vue"), 122 Polygontool: () => import("./Polygontool.vue"),
122 Profiles: () => import("./Profiles.vue"), 123 Profiles: () => import("./Profiles.vue"),
124 Gauges: () => import("./Gauges.vue"),
123 Pdftool: () => import("./Pdftool.vue") 125 Pdftool: () => import("./Pdftool.vue")
124 }, 126 },
125 computed: { 127 computed: {
126 ...mapGetters("map", ["getVSourceByName"]), 128 ...mapGetters("map", ["getVSourceByName"]),
127 ...mapState("map", ["lineTool", "polygonTool", "cutTool"]), 129 ...mapState("map", ["lineTool", "polygonTool", "cutTool"]),