diff client/src/components/layers/LegendElement.vue @ 5219:de86a96d55c3 new-fwa

linter
author Thomas Junk <thomas.junk@intevation.de>
date Tue, 12 May 2020 10:04:06 +0200
parents 9b1da062cbee
children 453a33b0717d
line wrap: on
line diff
--- a/client/src/components/layers/LegendElement.vue	Mon May 11 20:10:15 2020 +0200
+++ b/client/src/components/layers/LegendElement.vue	Tue May 12 10:04:06 2020 +0200
@@ -174,7 +174,12 @@
       if (this.layer.get("id") === "BOTTLENECKS") {
         feature = new Feature({
           geometry: new Polygon([
-            [[-1.7, -1.2], [-1.7, 0.5], [1.7, 1.2], [1.7, -0.5]]
+            [
+              [-1.7, -1.2],
+              [-1.7, 0.5],
+              [1.7, 1.2],
+              [1.7, -0.5]
+            ]
           ])
         });
         if (typeof mapStyle === "function") {
@@ -192,7 +197,11 @@
         });
       } else {
         feature = new Feature({
-          geometry: new LineString([[-1, -1], [0, 0], [1, 1]])
+          geometry: new LineString([
+            [-1, -1],
+            [0, 0],
+            [1, 1]
+          ])
         });
       }
       // special case if we need to call the style function with a special