Mercurial > gemma
comparison client/src/map/Maplayer.vue @ 1043:740679d6682f
linting
author | Markus Kottlaender <markus@intevation.de> |
---|---|
date | Thu, 25 Oct 2018 08:05:06 +0200 |
parents | 7e3c620a5639 |
children | 28eb62f7c676 d3bdad8ed8d3 |
comparison
equal
deleted
inserted
replaced
1042:f786f6024ad1 | 1043:740679d6682f |
---|---|
49 import { Vector as VectorLayer } from "ol/layer.js"; | 49 import { Vector as VectorLayer } from "ol/layer.js"; |
50 import { Vector as VectorSource } from "ol/source.js"; | 50 import { Vector as VectorSource } from "ol/source.js"; |
51 import { getLength } from "ol/sphere.js"; | 51 import { getLength } from "ol/sphere.js"; |
52 import { Icon, Stroke, Style, Fill } from "ol/style.js"; | 52 import { Icon, Stroke, Style, Fill } from "ol/style.js"; |
53 | 53 |
54 import distance from "@turf/distance"; | |
55 import { | |
56 lineString as turfLineString, | |
57 polygon as turfPolygon | |
58 } from "@turf/helpers"; | |
59 import lineIntersect from "@turf/line-intersect"; | |
60 import { displayError } from "../application/lib/errors.js"; | 54 import { displayError } from "../application/lib/errors.js"; |
61 import { calculateFairwayCoordinates } from "../application/lib/geo.js"; | 55 import { calculateFairwayCoordinates } from "../application/lib/geo.js"; |
62 | 56 |
63 const DEMODATA = 2.5; | 57 const DEMODATA = 2.5; |
64 | 58 |