fixed dispatch eslint errors
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import { point, multiPolygon, booleanPointInPolygon, booleanIntersects, polygon } from "@turf/turf";
|
||||
import { point, booleanPointInPolygon, polygon } from "@turf/turf";
|
||||
import leitstellenGeoJSON from "../_components/map/_geojson/Leitstellen.json"; // Pfad anpassen
|
||||
|
||||
export function findLeitstelleForPosition(lat: number, lng: number) {
|
||||
const heliPoint = point([lat, lng]);
|
||||
|
||||
for (const feature of (leitstellenGeoJSON as any).features) {
|
||||
for (const feature of (leitstellenGeoJSON as GeoJSON.FeatureCollection).features) {
|
||||
const geom = feature.geometry;
|
||||
|
||||
if (geom.type === "Polygon") {
|
||||
|
||||
Reference in New Issue
Block a user