comparison client/src/map/store.js @ 790:1b82ae5e637e

client: add bottleneck layer with first styling
author Bernhard Reiter <bernhard@intevation.de>
date Thu, 27 Sep 2018 08:52:17 +0200
parents ab9604a46075
children 073394629ec6
comparison
equal deleted inserted replaced
788:9f3a4a60dc04 790:1b82ae5e637e
145 return []; 145 return [];
146 } 146 }
147 } 147 }
148 }), 148 }),
149 isVisible: true 149 isVisible: true
150 },
151 {
152 name: "Bottlenecks",
153 data: new VectorLayer({
154 source: new VectorSource({
155 strategy: bboxStrategy
156 }),
157 style: new Style({
158 stroke: new Stroke({
159 color: "rgba(230, 230, 10, .8)",
160 width: 4
161 }),
162 fill: new Fill({
163 color: "rgba(230, 230, 10, .3)"
164 })
165 })
166 }),
167 isVisible: true
150 } 168 }
151 ], 169 ],
152 identifiedFeatures: [] 170 identifiedFeatures: []
153 }, 171 },
154 getters: { 172 getters: {