changeset 2313:ba4dfff74d3f

client: improve styles for LOS layers * Activate filling for LOS layers, so they can be seen better. The LOS 3 is just making things lighter, while LOS 2 and 1 add a yellow tint.
author Bernhard Reiter <bernhard@intevation.de>
date Mon, 18 Feb 2019 16:08:16 +0100
parents 77adbdd24d52
children da4c91866dfe
files client/src/store/map.js
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/store/map.js	Mon Feb 18 15:33:01 2019 +0100
+++ b/client/src/store/map.js	Mon Feb 18 16:08:16 2019 +0100
@@ -142,6 +142,9 @@
                 stroke: new Stroke({
                   color: "rgba(0, 0, 255, 1.0)",
                   width: 2
+                }),
+                fill: new Fill({
+                  color: "rgba(255, 255, 255, 0.4)"
                 })
               }),
               new Style({
@@ -173,6 +176,9 @@
                   lineDash: [3, 6],
                   lineCap: "round",
                   width: 2
+                }),
+                fill: new Fill({
+                  color: "rgba(240, 230, 0, 0.1)"
                 })
               }),
               new Style({
@@ -204,6 +210,9 @@
                   lineDash: [2, 4],
                   lineCap: "round",
                   width: 2
+                }),
+                fill: new Fill({
+                  color: "rgba(240, 230, 0, 0.2)"
                 })
               }),
               new Style({