forked from MapComplete/MapComplete
refactoring(maplibre): WIP
This commit is contained in:
parent
231d67361e
commit
4d48b1cf2b
89 changed files with 1166 additions and 3973 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue