Description
Class added v2.0.
Time information details.
Samples
Search for
samples that use this class.
Class hierarchy
esri.layers.TimeInfo
Properties
| 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
| 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
The name of the attribute field that contains the end time information.
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.
The name of the attribute field that contains the start time information.
The time extent for all the data in the layer.
Time interval of the data in the layer. Typically used for the TimeSlider when animating the layer.
<String> timeIntervalUnits
Temporal unit in which the time interval is measured. See the Constants table for valid values.
Information about how the time was measured.
The field that contains the trackId.