TomTom Maps for JavaScript
    Preparing search index...

    Type Alias CurvyStretchSectionsOptions

    How close curves have to follow one another to make a curvy stretch.

    type CurvyStretchSectionsOptions = {
        curves?: readonly CurveSectionProps[];
        maxGapInMeters?: number;
        minCurveCount?: number;
    }
    Index
    curves?: readonly CurveSectionProps[]

    The curves to group, in order along the route. Defaults to the route's sections.curve, or to getCurveSections with its defaults when the route has none.

    maxGapInMeters?: number

    The longest gap between two curves of one stretch.

    500
    
    minCurveCount?: number

    Leaves out the stretches with fewer curves than this.

    3