forked from MapComplete/MapComplete
Feat: more integrations of panoramax: add panoramax to nearby images view, add to drawer, add icon, see #1451
This commit is contained in:
parent
d079f8379b
commit
5fd1d75efb
24 changed files with 617 additions and 33 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