TomTom Maps for JavaScript
    Preparing search index...

    Type Alias SectionsWithinOptions

    Where to look along a route for its sections, and of which types.

    type SectionsWithinOptions = {
        types?: readonly SectionType[];
        within?: readonly RouteSpan[];
    }
    Index
    types?: readonly SectionType[]

    The section types to look for. Defaults to every type.

    within?: readonly RouteSpan[]

    Only counts the sections within these spans of the route, which must not overlap. Defaults to the whole route.