Mercurial > gemma
comparison 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 |
comparison
equal
deleted
inserted
replaced
660:79db27e3a999 | 663:db749c02127c |
---|---|
83 isVisible: true | 83 isVisible: true |
84 }, | 84 }, |
85 { | 85 { |
86 name: "Distance marks", | 86 name: "Distance marks", |
87 data: new VectorLayer({ | 87 data: new VectorLayer({ |
88 source: new VectorSource() /*, | 88 source: new VectorSource() |
89 style: new Style({ | |
90 stroke: new Stroke({ | |
91 color: "rgba(0, 0, 255, 1.0)", | |
92 width: 2 | |
93 }) | |
94 }) | |
95 */ | |
96 }), | 89 }), |
97 isVisible: false | 90 isVisible: false |
98 }, | 91 }, |
99 { | 92 { |
100 name: "Distance marks, Axis", | 93 name: "Distance marks, Axis", |
101 data: new VectorLayer({ | 94 data: new VectorLayer({ |
102 source: new VectorSource(), | 95 source: new VectorSource() |
103 style: new Style({ | |
104 stroke: new Stroke({ | |
105 color: "rgba(0, 255, 255, 1.0)", | |
106 width: 3 | |
107 }) | |
108 }) | |
109 }), | 96 }), |
110 isVisible: true | 97 isVisible: true |
111 } | 98 } |
112 ] | 99 ] |
113 }, | 100 }, |