Mercurial > gemma
diff client/src/map/store.js @ 663:db749c02127c
Client: slightly improve wfs loading for marks
* Remove stroke style that has not been used for point layers.
* Use a bbox filter to restrict loading roughly to the extend
of danube in Austria for the external distance marks.
* Add diagnosis information to console for both point layers.
author | Bernhard Reiter <bernhard@intevation.de> |
---|---|
date | Tue, 18 Sep 2018 09:03:55 +0200 |
parents | ef658c66cfca |
children | 89b497d0ee0f |
line wrap: on
line diff
--- a/client/src/map/store.js Mon Sep 17 18:02:17 2018 +0200 +++ b/client/src/map/store.js Tue Sep 18 09:03:55 2018 +0200 @@ -85,27 +85,14 @@ { name: "Distance marks", data: new VectorLayer({ - source: new VectorSource() /*, - style: new Style({ - stroke: new Stroke({ - color: "rgba(0, 0, 255, 1.0)", - width: 2 - }) - }) - */ + source: new VectorSource() }), isVisible: false }, { name: "Distance marks, Axis", data: new VectorLayer({ - source: new VectorSource(), - style: new Style({ - stroke: new Stroke({ - color: "rgba(0, 255, 255, 1.0)", - width: 3 - }) - }) + source: new VectorSource() }), isVisible: true }