forked from MapComplete/MapComplete
Merge master
This commit is contained in:
commit
adaedcba25
27 changed files with 674 additions and 433 deletions
|
@ -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({})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue