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

@ -179,13 +179,6 @@ export class BBox {
])
}
toLeaflet(): [[number, number], [number, number]] {
return [
[this.minLat, this.minLon],
[this.maxLat, this.maxLon],
]
}
toLngLat(): [[number, number], [number, number]] {
return [
[this.minLon, this.minLat],
@ -193,7 +186,6 @@ export class BBox {
]
}
public asGeoJson<T>(properties: T): Feature<Polygon, T> {
return {
type: "Feature",