Time slider widget tags
This page describes an older version, please read about the latest version at:
http://resources.arcgis.com/en/help/flex-viewer/concepts/
http://resources.arcgis.com/en/help/flex-viewer/concepts/
Configuration file for Time Slider widget
The general structure of the the Time Slider widget configuration file is shown by the conceptual graphic below:
The file is defined by a <configuration> tag that identifies it as a configuration file for the Viewer.
Note:
Time units in the Time Slider widget are in milliseconds for all properties, with the exception of <timestopsunits>.
It has the following tags:
- <dateformat> - Format of the time to use in widget. This property follows the Adobe ActionScript DateFormatter syntax.
- <loop> - Restart play from beginning after it reaches the last time stop. Boolean value. If true, the widget will continue to loop through the time sequence (default is "false").
- <singlethumbastimeinstant> - This sets the time extent value for a thumbcount. Boolean value. If true and thumbCount is 1, then the timeExtent will represent a time instant (default is "false").
- <thumbcount> - The number of thumbs on the time slider.
- <thumbmovingrate> - How fast to move from one time stop to the next time stop (default is 1000 milliseconds).
-
<timeextent> - The period of time
between two points on a timeline. This can be specified in 2 ways:
i) setting the setfromlayer property to a specific layer, or
ii) with the <starttime> and <endtime>
child tags. It has the following property:
- setfromlayer - Use the label of a layer (which should match the layer label in the Viewer application's main configuration file). When this is set, time extent is not used.
- <starttime> - Starting point of time sequence. This property follows the Adobe ActionScript DateFormatter syntax.
- <endtime> - End point of time sequence. This property follows the Adobe ActionScript DateFormatter syntax.
- <timestopsinterval> - The duration after which the map display will be refreshed to display the data valid at that time. This is used together with the <timestopsunits> tag. For example, to have time stops every X hours.
- <timestopsunits> - Defined time units for the time stops. Valid values include: years, months, days, hours, minutes, and seconds. This is used together with the <timestopsinterval> tag.
- <timestopscount> - This tag is used if the <timestopsinterval> and <timestopsunits> tags have not been specified (default is 10 stops).
2/15/2012