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.

AttributeDescription

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": ""
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.