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 SearchSuggestionKind

    SearchSuggestionKind: PlaceSuggestion["kind"] | RefinementSuggestion["kind"]

    The kinds of thing getSearchSuggestions can return.

    place, address, street and area are locations, and PlaceSuggestion.resolve gets the full place. brand and category are refinements, which narrow a follow-up query instead of naming a location. Narrow on kind to tell them apart.