forked from MapComplete/MapComplete
Feature:improve offline basemap retention and fallback behaviour
This commit is contained in:
parent
77ef3a3572
commit
848ec121f1
15 changed files with 312 additions and 167 deletions
|
|
@ -36,8 +36,8 @@
|
|||
let rasterLayer = state?.mapProperties.rasterLayer
|
||||
if (bg !== undefined) {
|
||||
if (eliCategory.indexOf(bg) >= 0) {
|
||||
const availableLayers = state.availableLayers.store.data
|
||||
const startLayer: RasterLayerPolygon = RasterLayerUtils.SelectBestLayerAccordingTo(
|
||||
const availableLayers = state.availableLayers.data
|
||||
const startLayer: RasterLayerPolygon = RasterLayerUtils.selectBestLayerAccordingTo(
|
||||
availableLayers,
|
||||
bg
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue