TomTom Maps for JavaScript
    Preparing search index...

    Type Alias TrafficIncidentBaseProperties

    Properties common to all traffic incident representations.

    Shared between the Incident Details service response and map vector-tile features.

    type TrafficIncidentBaseProperties = {
        category: TrafficIncidentCategory;
        delayInSeconds?: number;
        endTime?: Date;
        id: string;
        lastReportTime?: Date;
        magnitudeOfDelay: DelayMagnitude;
        numberOfReports?: number;
        probabilityOfOccurrence?: TrafficIncidentProbability;
        startTime?: Date;
    }
    Index

    Properties

    Primary category of the incident.

    delayInSeconds?: number

    Estimated delay caused by the incident in seconds.

    endTime?: Date

    Time when the incident ended or is expected to end.

    id: string

    Unique identifier of the incident.

    lastReportTime?: Date

    Time of the most recent user report for this incident.

    magnitudeOfDelay: DelayMagnitude

    Severity of the delay caused by this incident.

    numberOfReports?: number

    Number of user reports that contributed to this incident.

    probabilityOfOccurrence?: TrafficIncidentProbability

    Confidence in the occurrence of the incident.

    startTime?: Date

    Time when the incident started or is expected to start.