TomTom Maps for JavaScript
    Preparing search index...

    Type Alias AutocompleteSearchMatches

    Match information linking a segment to the input query.

    Defines the relationship between recognized entities and the portions of the original query they represent.

    type AutocompleteSearchMatches = {
        inputQuery: AutocompleteSearchMatch[];
    }
    Index

    Array of matched substrings from the input query.

    Indicates which part(s) of the input query map to this segment. Multiple entries are possible as matching may not be continuous.