This is the documentation of version 0.63.0. Go to the latest version, 1.0.0.
TomTom Maps for JavaScript
    Preparing search index...

    Type Alias RoutePathPoint

    Route path point and its metadata.

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

    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.