This is the documentation of version 0.51.3. Go to the latest version, 1.0.0-rc.5.
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
    travelTimeInSeconds: number

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