Select to view content in your preferred language

Time Slider Explanation

890
1
Jump to solution
02-10-2014 04:29 AM
jamesmuir
Deactivated User
Can someone explain the Time Slider implementation to me? I am trying to use the live example found here

http://developers.arcgis.com/javascript/sandbox/sandbox.html?sample=time_sliderwithdynamiclayer

but am failing to understand how the widget determines what graphics to draw as it doesn't appear that a reference to the map or a layer are passed into it.
0 Kudos
1 Solution

Accepted Solutions
jamesmuir
Deactivated User
So after digging into this and watching the network traffic with developer tools it appears that you can't actually specify a layer on which to set the Time Slider. It seems as though it parses the map layers to find any which contain a TimeInfo property and then queries those map services with the appropriate date parameters.

It would have been nice if this was mentioned somewhere in the documentation instead of having to discern it from the sample provided.

View solution in original post

0 Kudos
1 Reply
jamesmuir
Deactivated User
So after digging into this and watching the network traffic with developer tools it appears that you can't actually specify a layer on which to set the Time Slider. It seems as though it parses the map layers to find any which contain a TimeInfo property and then queries those map services with the appropriate date parameters.

It would have been nice if this was mentioned somewhere in the documentation instead of having to discern it from the sample provided.
0 Kudos