changeset 1043:740679d6682f

linting
author Markus Kottlaender <markus@intevation.de>
date Thu, 25 Oct 2018 08:05:06 +0200
parents f786f6024ad1
children f8a4ec146d47
files client/src/application/Topbar.vue client/src/map/Maplayer.vue
diffstat 2 files changed, 1 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/application/Topbar.vue	Thu Oct 25 07:32:55 2018 +0200
+++ b/client/src/application/Topbar.vue	Thu Oct 25 08:05:06 2018 +0200
@@ -214,7 +214,7 @@
         let view = this.openLayersMap.getView();
         view.animate(
           {
-            zoom: resultEntry.type === 'bottleneck' ? 16 : 14,
+            zoom: resultEntry.type === "bottleneck" ? 16 : 14,
             center: fromLonLat(
               resultEntry.geom.coordinates,
               view.getProjection()
--- a/client/src/map/Maplayer.vue	Thu Oct 25 07:32:55 2018 +0200
+++ b/client/src/map/Maplayer.vue	Thu Oct 25 08:05:06 2018 +0200
@@ -51,12 +51,6 @@
 import { getLength } from "ol/sphere.js";
 import { Icon, Stroke, Style, Fill } from "ol/style.js";
 
-import distance from "@turf/distance";
-import {
-  lineString as turfLineString,
-  polygon as turfPolygon
-} from "@turf/helpers";
-import lineIntersect from "@turf/line-intersect";
 import { displayError } from "../application/lib/errors.js";
 import { calculateFairwayCoordinates } from "../application/lib/geo.js";