refactoring(maplibre): WIP

This commit is contained in:
Pieter Vander Vennet 2023-03-24 19:21:15 +01:00
parent 231d67361e
commit 4d48b1cf2b
89 changed files with 1166 additions and 3973 deletions

View file

@ -5,7 +5,7 @@ import BaseUIElement from "../UI/BaseUIElement"
import List from "../UI/Base/List"
import Title from "../UI/Base/Title"
import { BBox } from "./BBox"
import { Feature, Geometry, MultiPolygon, Polygon } from "@turf/turf"
import { Feature, Geometry, MultiPolygon, Polygon } from "geojson"
export interface ExtraFuncParams {
/**
@ -68,7 +68,7 @@ class EnclosingFunc implements ExtraFunction {
}
if (
GeoOperations.completelyWithin(
feat,
<Feature>feat,
<Feature<Polygon | MultiPolygon, any>>otherFeature
)
) {