Time Slider
The Time Slider widget allows you to visualizes map content containing time-aware layers.
Configurable attributes
The following table describes the configurable attributes of the Time Slider widget.
Attribute | Description |
---|---|
showLabels | Boolean. The default is false. Displays the name of the time-aware layer. |
timeFormat | String. The default is "auto". Date and time format of the time slider. Several options are available such as "M/DD/YYYY". |
customDateFormat | String. The default is "". It works when timeFormat is set to "Custom". It takes a string of tokens and replaces them with their corresponding values. For more information, see #Format 1.0.0+. |
Example
{
"showLabels": false,
"timeFormat": "M/DD/YYYY",
"customDateFormat": ""
}