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

    Type Alias AutocompleteSearchResult

    Individual autocomplete search result.

    Represents a single suggestion with its recognized entities (brands, categories, or plaintext segments).

    type AutocompleteSearchResult = {
        segments: AutocompleteSearchSegment[];
    }
    Index

    Properties

    Properties

    Recognized entities within this autocomplete suggestion.

    Array of segments identifying specific brands, categories, or plaintext portions of the suggestion.