Class: TimeInfo

Description

Class added v2.0.

Time information details.

Samples

Search for samples that use this class.  

Class hierarchy

esri.layers.TimeInfo

Properties

Property Type Description
endTimeField String The name of the attribute field that contains the end time information.
exportOptions LayerTimeOptions Default time-related export options for the layer. When using a dynamic map service, these options can be overriden for sub-layers using the setLayerTimeOptions method.
startTimeField String The name of the attribute field that contains the start time information.
timeExtent TimeExtent The time extent for all the data in the layer.
timeInterval Number Time interval of the data in the layer. Typically used for the TimeSlider when animating the layer.
timeIntervalUnits String Temporal unit in which the time interval is measured. See the Constants table for valid values.
timeReference TimeReference Information about how the time was measured.
trackIdField String The field that contains the trackId.

Constants

Constant Description
UNIT_CENTURIES Indicates a value measured in centuries.
UNIT_DAYS Indicates a value measured in days.
UNIT_DECADES Indicates a value measured in decades.
UNIT_HOURS Indicates a value measured in hours.
UNIT_MILLISECONDS Indicates a value measured in milliseconds.
UNIT_MINUTES Indicates a value measured in minutes.
UNIT_MONTHS Indicates a value measured in months.
UNIT_SECONDS Indicates a value measured in seconds.
UNIT_UNKNOWN Indicates a value measured in unknown units.
UNIT_WEEKS Indicates a value measured in weeks.
UNIT_YEARS Indicates a value measured in years.
Properties Detail

<String> endTimeField

The name of the attribute field that contains the end time information.

<LayerTimeOptions> exportOptions

Default time-related export options for the layer. When using a dynamic map service, these options can be overriden for sub-layers using the setLayerTimeOptions method.

<String> startTimeField

The name of the attribute field that contains the start time information.

<TimeExtent> timeExtent

The time extent for all the data in the layer.

<Number> timeInterval

Time interval of the data in the layer. Typically used for the TimeSlider when animating the layer.
See also:
timeIntervalUnits  

<String> timeIntervalUnits

Temporal unit in which the time interval is measured. See the Constants table for valid values.
See also:
timeInterval  

<TimeReference> timeReference

Information about how the time was measured.

<String> trackIdField

The field that contains the trackId.