UI: write background layer id into the URL, see #2089
This commit is contained in:
parent
f663319512
commit
83a8d35c97
1 changed files with 1 additions and 4 deletions
|
@ -30,10 +30,7 @@ export class PreferredRasterLayerSelector {
|
|||
const self = this
|
||||
|
||||
this._rasterLayerSetting.addCallbackD((layer) => {
|
||||
if (layer.properties.id !== this._queryParameter.data) {
|
||||
this._queryParameter.setData(undefined)
|
||||
return true
|
||||
}
|
||||
this._queryParameter.setData(layer.properties.id)
|
||||
})
|
||||
|
||||
this._queryParameter.addCallbackAndRunD((_) => {
|
||||
|
|
Loading…
Reference in a new issue