TomTom Maps for JavaScript
    Preparing search index...

    Type Alias AlongRouteSortBy

    AlongRouteSortBy: "detourTime" | "detourOffset"

    Result sorting order for along-route search.

    Controls how the returned POIs are ordered relative to the route.

    • detourTime: Sort by additional travel time required to visit the POI (default)
    • detourOffset: Sort by how far along the route the detour point falls