Fix current view
This commit is contained in:
parent
59f56bd251
commit
346f45cff8
1 changed files with 3 additions and 0 deletions
|
@ -313,6 +313,9 @@ export default class LayoutConfig implements LayoutInformation {
|
||||||
if (tags === undefined) {
|
if (tags === undefined) {
|
||||||
return undefined
|
return undefined
|
||||||
}
|
}
|
||||||
|
if(tags.id.startsWith("current_view")){
|
||||||
|
return this.getLayer("current_view")
|
||||||
|
}
|
||||||
for (const layer of this.layers) {
|
for (const layer of this.layers) {
|
||||||
if (!layer.source) {
|
if (!layer.source) {
|
||||||
if (layer.isShown?.matchesProperties(tags)) {
|
if (layer.isShown?.matchesProperties(tags)) {
|
||||||
|
|
Loading…
Reference in a new issue