This is the documentation of version 1.0.0-rc.2. Go to the latest version, 1.0.0-rc.5.
TomTom Maps for JavaScript
    Preparing search index...

    Type Alias CauseTEC

    A traffic incident cause, based on the TPEG2-TEC standard.

    TPEG (Transport Protocol Experts Group) codes give a standardized classification of traffic incident causes.

    type CauseTEC = {
        mainCauseCode: number;
        subCauseCode?: number;
    }
    Index
    mainCauseCode: number

    The TPEG2-TEC main cause code, the primary classification of what caused the incident.

    subCauseCode?: number

    The TPEG2-TEC sub-cause code, a more specific classification under the main cause.