forked from MapComplete/MapComplete
Housekeeping
This commit is contained in:
parent
7ad311d91a
commit
60efd0844f
175 changed files with 24802 additions and 1949 deletions
|
@ -64,7 +64,12 @@ export class PreferredRasterLayerSelector {
|
|||
const foundLayer = isCategory
|
||||
? available.find((l) => l.properties.category === targetLayerId)
|
||||
: available.find((l) => l.properties.id === targetLayerId)
|
||||
console.debug("Updating background layer to", foundLayer?.id,{targetLayerId, queryParam:this._queryParameter?.data, preferred: this._preferredBackgroundLayer?.data, isCategory})
|
||||
console.debug("Updating background layer to", foundLayer?.id, {
|
||||
targetLayerId,
|
||||
queryParam: this._queryParameter?.data,
|
||||
preferred: this._preferredBackgroundLayer?.data,
|
||||
isCategory,
|
||||
})
|
||||
if (foundLayer) {
|
||||
this._rasterLayerSetting.setData(foundLayer)
|
||||
return true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue