changeset 2309:77adbdd24d52

client: fix drawing perormance * Change the vector drawing style of LOS 1 and LOS 2 layers, because hte old dash segments array posed a problem for chromium (observed with 71.0.3578.80-1~deb9u1).
author Bernhard Reiter <bernhard@intevation.de>
date Mon, 18 Feb 2019 15:33:01 +0100
parents f42a7ba05979
children 92b21df288e2 ba4dfff74d3f
files client/src/store/map.js
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/store/map.js	Mon Feb 18 14:08:19 2019 +0100
+++ b/client/src/store/map.js	Mon Feb 18 15:33:01 2019 +0100
@@ -170,7 +170,7 @@
               new Style({
                 stroke: new Stroke({
                   color: "rgba(0, 0, 255, 0.9)",
-                  lineDash: [0, 5, 5, 5],
+                  lineDash: [3, 6],
                   lineCap: "round",
                   width: 2
                 })
@@ -201,7 +201,7 @@
               new Style({
                 stroke: new Stroke({
                   color: "rgba(0, 0, 255, 0.8)",
-                  lineDash: [0, 5],
+                  lineDash: [2, 4],
                   lineCap: "round",
                   width: 2
                 })