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 RouteSegmentProgress

    The progress over a segment between two arbitrary points on the route path.

    type RouteSegmentProgress = {
        delta: RouteProgressAtPoint;
        end: RouteProgressAtPoint;
        start: RouteProgressAtPoint;
    }
    Index

    The distance and time the segment covers, as end minus start.

    Progress at the end point.

    Progress at the start point.