TomTom Maps for JavaScript
    Preparing search index...

    Type Alias GeocodingProps

    GeocodingProps: Omit<SearchPlaceProps, "info"> & {
        matchConfidence: { score: number };
        type: GeocodingPlaceType;
    }

    Properties specific to geocoding search results.

    They extend search place properties with geocoding-specific information, such as a match confidence score for how well the result matches the input query. They exclude the info property, which geocoding responses don't use.

    Type Declaration

    • matchConfidence: { score: number }

      The confidence of the result's textual match with the query.

      Higher scores mean that the returned result matches the input query text better.

    • type: GeocodingPlaceType

      The type of place (Address, Street, Geography, etc).

      Geocoding focuses on administrative and address entities, so it excludes the POI type.