TomTom Maps for JavaScript
    Preparing search index...

    Type Alias CompareRoutesOptions

    Which sections to weigh when comparing two routes.

    type CompareRoutesOptions = {
        types?: readonly SectionType[];
    }
    Index
    types?: readonly SectionType[]

    The section types to weigh. Defaults to every type calculateRoute can return, curve and curvyStretch included when the routes carry them, leaving out leg and distinct.