forked from MapComplete/MapComplete
Bugfix: camera with direction wouldn't show up
This commit is contained in:
parent
de305ecab9
commit
5e6f54f660
5 changed files with 13 additions and 21 deletions
|
@ -161,7 +161,7 @@ export class InitUiElements {
|
|||
if (feature === undefined) {
|
||||
State.state.fullScreenMessage.setData(undefined);
|
||||
}
|
||||
if (feature?.properties === undefined) {
|
||||
if (feature?.properties === undefined) {
|
||||
return;
|
||||
}
|
||||
const data = feature.properties;
|
||||
|
@ -175,7 +175,7 @@ export class InitUiElements {
|
|||
continue;
|
||||
}
|
||||
|
||||
if(layer.title === null && layer.tagRenderings.length === 0){
|
||||
if((layer.title ?? null) === null && layer.tagRenderings.length === 0){
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue