Fix: add carto vector layers again
This commit is contained in:
parent
89afe9102f
commit
5e2a98924c
2 changed files with 70 additions and 4 deletions
|
@ -53,10 +53,7 @@ export class AvailableRasterLayers {
|
|||
geometry: BBox.global.asGeometry(),
|
||||
}
|
||||
|
||||
public static readonly vectorLayers = [
|
||||
AvailableRasterLayers.maptilerDefaultLayer,
|
||||
AvailableRasterLayers.osmCarto,
|
||||
]
|
||||
public static readonly vectorLayers = [AvailableRasterLayers.maptilerDefaultLayer]
|
||||
|
||||
public static layersAvailableAt(
|
||||
location: Store<{ lon: number; lat: number }>
|
||||
|
@ -79,6 +76,7 @@ export class AvailableRasterLayers {
|
|||
}
|
||||
return GeoOperations.inside(lonlat, eliPolygon)
|
||||
})
|
||||
matching.push(AvailableRasterLayers.maptilerDefaultLayer)
|
||||
matching.push(...AvailableRasterLayers.globalLayers)
|
||||
return matching
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue