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.

    Extends search place properties with geocoding-specific information, including match confidence scoring to indicate how well the result matches the input query. The info property is excluded as it's not used in geocoding responses.

    Type Declaration

    • matchConfidence: { score: number }

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

      Indicates how well the returned result matches the input query text. Higher scores represent better textual matches.

    • type: GeocodingPlaceType

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

      POI type is excluded as geocoding focuses on administrative and address entities.