Hello everyone,
we discovered that the legend infos for a DynamicEntityLayer always include the 2 entries "Track Lines" and "Previous Observations" even though track lines is not activated on the layer. Is this correct? Shouldn't these 2 legend infos only be included if tracking is active?
What we do:
let legendInfos = try await layer.legendInfos
-> for DynamicEntityLayers this always includes the 2 legend infos ("Track Lines" and "Previous Observations") even if tracking is not active:
let isTrackingActive = (layer as? DynamicEntityLayer)?.trackDisplayProperties.showsTrackLine
-> isTrackingActive is false in our case