Partilhar via


MapsSearchClient.SearchNearbyPointOfInterest Método

Definição

API de pesquisa próxima. Se você tiver um caso de uso para recuperar apenas os resultados de POI em um local específico, o método de pesquisa próximo poderá ser a escolha certa. Esse ponto de extremidade retornará apenas os resultados da POI e não usará um parâmetro de consulta de pesquisa.

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)

Parâmetros

options
SearchNearbyPointOfInterestOptions

opções adicionais

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Comentários

Pesquisa nas proximidades

Aplica-se a