GetRenderer(FeatureRendererTarget) Method
Returns the renderer used to draw the feature layer
This method must be called on the MCT. Use QueuedTask.Run.
Retrieve the previous observation renderer
//The layer must be track aware and spatial
if (streamLayer.TrackType != TrackType.Spatial)
return;
//Must be on QueuedTask!
var prev_renderer = streamLayer.GetRenderer(
FeatureRendererTarget.PreviousObservations);
Retrieve the track lines renderer
//The layer must be track aware and spatial
if (streamLayer.TrackType != TrackType.Spatial)
return;
//Must be on QueuedTask!
var track_renderer = streamLayer.GetRenderer(
FeatureRendererTarget.TrackLines);
Target Platforms: Windows 11, Windows 10, Windows 8.1