Bugfix: camera with direction wouldn't show up

This commit is contained in:
Pieter Vander Vennet 2020-11-18 13:41:31 +01:00
parent de305ecab9
commit 5e6f54f660
5 changed files with 13 additions and 21 deletions

View file

@ -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;
}