This is the documentation of version 0.49.1. 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

    Properties

    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.