TomTom Maps for JavaScript
    Preparing search index...

    Type Alias AutocompleteSearchResponse

    Response from the autocomplete search service.

    Contains context about the query and a list of autocomplete suggestions with recognized entities (brands, categories, plaintext).

    type AutocompleteSearchResponse = {
        context: AutocompleteSearchContext;
        results: AutocompleteSearchResult[];
    }
    Index

    Properties

    Properties

    Information about the autocomplete request that was performed.

    Includes the original query and any geographic bias applied.

    List of autocomplete suggestions returned by the engine.

    Each result contains segments representing recognized entities from the input query.