TomTom Maps for JavaScript
    Preparing search index...

    Type Alias AutocompleteSearchContext

    Context information for an autocomplete search request.

    Captures the original query and optional geographic bias used to influence the autocomplete suggestions.

    type AutocompleteSearchContext = {
        geoBias?: AutocompleteSearchResultGeoBias;
        inputQuery: string;
    }
    Index

    Properties

    Properties

    Geographic bias applied to influence results.

    Present when position and radius parameters were provided to prioritize results near a specific location.

    inputQuery: string

    Original query string passed to the autocomplete engine.