AnsweredAssumed Answered

Multiple tracks temporal renderer

Question asked by pdiddyau on Apr 19, 2016
Latest reply on Apr 19, 2016 by pdiddyau

Based on this sample:


I am not able to render multiple tracks in the same feature layer using the temporal renderer.


From the documentation, I was assuming that if there was multiple features in the feature table, then the track renderer would render the track based on the trackID of the feature.

TemporalRenderer | API Reference | ArcGIS API for JavaScript

"Renderer for the tracks. A track is a collection of events that share a common track ID. A track line is a graphic line that connects the observations. Applicable only for feature layers with a valid trackIdField."


Now the sample has a different trackID for each location that is added to the layer, so this doesn't seem to match what the documentation says about the trackRenderer arg of the constructor.


The only main change I am making is specifying the trackId as an argument that is paired with the position:

attributes.TrackID = trackId;


Is there something that I am missing?