changeset 2456:194b42f28ea3

linting
author Markus Kottlaender <markus@intevation.de>
date Mon, 04 Mar 2019 07:38:34 +0100
parents 54c9fe587fe6
children 374ee552ca85
files client/src/store/map.js
diffstat 1 files changed, 15 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/store/map.js	Fri Mar 01 18:38:02 2019 +0100
+++ b/client/src/store/map.js	Mon Mar 04 07:38:34 2019 +0100
@@ -386,21 +386,21 @@
           }),
           style: function(feature) {
             return new Style({
-                image: new RegularShape({
-                  radius: 6,
-                  fill: new Fill({ color: "rgba(255, 255, 0, 0.1)" }),
-                  stroke: new Stroke({ color: "red", width: 1 }),
-                  points: 3,
-                  rotation: 0,
-                  angle: 0
+              image: new RegularShape({
+                radius: 6,
+                fill: new Fill({ color: "rgba(255, 255, 0, 0.1)" }),
+                stroke: new Stroke({ color: "red", width: 1 }),
+                points: 3,
+                rotation: 0,
+                angle: 0
+              }),
+              text: new Text({
+                font: '10px "Open Sans", "sans-serif"',
+                offsetY: 10,
+                fill: new Fill({
+                  color: "black"
                 }),
-                text: new Text({
-                  font: '10px "Open Sans", "sans-serif"',
-                  offsetY: 10,
-                  fill: new Fill({
-                    color: "black"
-                  }),
-                  text: feature.get("objname")
+                text: feature.get("objname")
               })
             });
           },
@@ -408,7 +408,7 @@
           minResolution: 0
         }),
         isVisible: true,
-        showInLegend: true,
+        showInLegend: true
       },
       {
         name: LAYERS.DRAWTOOL,