MapsSearchClient.SearchNearbyPointOfInterest Method

Definition

Nearby search API. If you have a use case for only retrieving POI results around a specific location, the nearby search method may be the right choice. This endpoint will only return POI results, and does not take in a search query parameter.

public virtual Azure.Response<Azure.Maps.Search.Models.SearchAddressResult> SearchNearbyPointOfInterest (Azure.Maps.Search.SearchNearbyPointOfInterestOptions options = default, System.Threading.CancellationToken cancellationToken = default);
abstract member SearchNearbyPointOfInterest : Azure.Maps.Search.SearchNearbyPointOfInterestOptions * System.Threading.CancellationToken -> Azure.Response<Azure.Maps.Search.Models.SearchAddressResult>
override this.SearchNearbyPointOfInterest : Azure.Maps.Search.SearchNearbyPointOfInterestOptions * System.Threading.CancellationToken -> Azure.Response<Azure.Maps.Search.Models.SearchAddressResult>
Public Overridable Function SearchNearbyPointOfInterest (Optional options As SearchNearbyPointOfInterestOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of SearchAddressResult)

Parameters

options
SearchNearbyPointOfInterestOptions

additional options

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Remarks

Nearby Search

Applies to