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

    Type Alias AreaAnalyticsMetrics

    Traffic metric values for an area or time period.

    All fields are optional, because only the metrics in the requested metrics are present.

    type AreaAnalyticsMetrics = {
        congestionLevel?: number;
        freeFlowSpeed?: number;
        networkLength?: number;
        speed?: number;
        travelTime?: number;
    }
    Index
    congestionLevel?: number

    Average congestion level as a percentage increase in travel time above free-flow conditions.

    freeFlowSpeed?: number

    Average free-flow speed based on static factors (km/h), the speed under ideal, uncongested conditions.

    networkLength?: number

    Sum of all road network segments with available data (meters).

    speed?: number

    Average speed on the road network (km/h).

    travelTime?: number

    Average travel time per 10 km (minutes).