Fix: small fixes and crashes

This commit is contained in:
Pieter Vander Vennet 2025-02-16 01:34:54 +01:00
parent 33ec30339b
commit d17d07ec52
4 changed files with 8 additions and 6 deletions

View file

@ -45,7 +45,7 @@ export class WithSelectedElementState extends UserMapFeatureswitchState {
selected?.properties?.name,
selected?.properties?.alt_name,
selected?.properties?.local_name,
layer?.title.GetRenderValue(selected?.properties ?? {}).txt,
layer?.title?.GetRenderValue(selected?.properties ?? {})?.txt,
selected.properties.display_name,
selected.properties.id,
]