This is the documentation of version 1.0.0-rc.4. Go to the latest version, 1.0.0-rc.5.
TomTom Maps for JavaScript
    Preparing search index...

    Type Alias DistinctSectionsOptions

    The threshold a distinct section has to reach to be kept.

    type DistinctSectionsOptions = {
        minLengthInMeters?: number;
    }
    Index
    minLengthInMeters?: number

    Leaves out the sections shorter than this.