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

    Type Alias CategorySuggestion

    CategorySuggestion: RefinementSuggestionBase & {
        category: POICategory;
        kind: "category";
    }

    A recognised POI category: a way to narrow the next query, not a location.

    Type Declaration

    • category: POICategory

      The category code this refinement narrows to.

    • kind: "category"