I have created a Temporal Feature Layer on our ArcGIS Server, which records all the locations, along with timestamp & other attributes of moving vehicles.

I used the TimeSlider Sample, to create a custom App which shows this data along with a TimeSlider.

When user presses play, it shows all the locations for a Given Vehicle (in that time extent) on the Map.

Is there a way to configure the timeSlider, or even make a custom query to the REST Endpoint of the FeatureService, to get the most current data/location for each vehicle in that particular time extent, and not all?

(I'm basically trying to get this kind of behavior in a web app)

1 Answer 1


The key is in the renderer, specifically the TemporalRenderer. Use its latestObservationRenderer to show the "latest" for each vehicle.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.