Merge master

This commit is contained in:
Pieter Vander Vennet 2024-09-30 01:22:44 +02:00
commit adaedcba25
27 changed files with 674 additions and 433 deletions

View file

@ -249,6 +249,13 @@ export class BBox {
]
}
toLngLatFlat(): [number, number, number, number] {
return [
this.minLon, this.minLat,
this.maxLon, this.maxLat,
]
}
public asGeojsonCached() {
if (this["geojsonCache"] === undefined) {
this["geojsonCache"] = this.asGeoJson({})