TomTom Maps for JavaScript
    Preparing search index...

    Type Alias SearchPlaceProps

    SearchPlaceProps: CommonPlaceProps & {
        distance?: number;
        info?: string;
        score?: number;
    }

    Properties for search result places.

    Extends common place properties with search-specific information like relevance scores and distances.

    Type Declaration

    • Optionaldistance?: number

      Distance in meters to this result from the bias position.

      Present only when geoBias (position bias) was provided in the search.

    • Optionalinfo?: string

      Information about the original data source.

      Attribution or source identification for the result.

    • Optionalscore?: number

      Relevance score for this search result.

      Higher scores indicate better match to the query criteria. Used for ranking search results.