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

    Type Alias RoutePathPoint

    A point on the route path, with its metadata.

    type RoutePathPoint = {
        distanceInMeters: number;
        point: Position;
        travelTimeInSeconds: number;
    }
    Index
    distanceInMeters: number

    The distance in meters from the start of the route to this point.

    point: Position

    The position of this point on the route.

    travelTimeInSeconds: number

    The time in seconds from the start of the route to this point.