Mercurial > gemma
diff 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 |
line wrap: on
line diff
--- a/client/src/map/store.js Thu Sep 27 08:15:28 2018 +0200 +++ b/client/src/map/store.js Thu Sep 27 08:52:17 2018 +0200 @@ -147,6 +147,24 @@ } }), isVisible: true + }, + { + name: "Bottlenecks", + data: new VectorLayer({ + source: new VectorSource({ + strategy: bboxStrategy + }), + style: new Style({ + stroke: new Stroke({ + color: "rgba(230, 230, 10, .8)", + width: 4 + }), + fill: new Fill({ + color: "rgba(230, 230, 10, .3)" + }) + }) + }), + isVisible: true } ], identifiedFeatures: []