Fix: substitute name

This commit is contained in:
Pieter Vander Vennet 2023-05-24 01:54:57 +02:00
parent 7c0d339976
commit 408e782626

View file

@ -24,7 +24,7 @@ export class ShareLinkViz implements SpecialVisualization {
tagSource?.data
)
let name =
matchingLayer?.title?.GetRenderValue(tagSource.data)?.txt ??
matchingLayer?.title?.GetRenderValue(tagSource.data)?.Subs(tagSource.data)?.txt ??
tagSource.data?.name ??
"POI"
if (name) {