TomTom Maps for JavaScript
    Preparing search index...

    Type Alias SearchPlaceProps

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

    The common place properties plus search-specific information, such as relevance scores and distances, for a search result place.

    Type Declaration

    • Optionaldistance?: number

      The distance in meters from the bias position to this result.

      It is present only when the search had a geoBias (position bias).

    • Optionalinfo?: string

      The attribution or source identification of the result's original data source.

    • Optionalscore?: number

      The relevance score of this search result, used for ranking.

      A higher score means a better match to the query criteria.