Time info if the layer/table supports querying and exporting maps based on time. See https://developers.arcgis.com/web-map-specification/objects/layerTimeInfo/.

interface LayerTimeInfoJson {
    endTimeField?: string;
    exportOptions?: TimeInfoExportOptionsJson;
    hasLiveData?: boolean;
    startTimeField?: string;
    timeExtent?: [number, number];
    timeInterval?: number;
    timeIntervalUnits?: TemporalUnitJsonType;
    timeReference?: {
        respectsDaylightSaving: boolean;
        timeZone?: string;
    };
    trackIdField: string;
}

Properties

endTimeField?: string

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

The default time-related export options for this layer.

hasLiveData?: boolean

Indicates whether service has live data.

startTimeField?: string

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

timeExtent?: [number, number]

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?: TemporalUnitJsonType

Temporal unit in which the time interval is measured.

timeReference?: {
    respectsDaylightSaving: boolean;
    timeZone?: string;
}

Defines information about daylight savings time and the time zone in which data was collected. See https://developers.arcgis.com/web-map-specification/objects/timeReference/.

Type declaration

  • respectsDaylightSaving: boolean

    Indicates whether the time reference takes into account daylight savings time.

  • OptionaltimeZone?: string

    The time zone in which the data was captured.

trackIdField: string

The field that contains the trackId.