Partilhar via


MapsSearchClient.SearchPointOfInterestCategoryAsync Método

Definição

Obter POI por API de Categoria. A Pesquisa de Categorias de Pontos de Interesse (POI) permite que você solicite resultados de POI de determinada categoria. A pesquisa permite consultar POIs de uma categoria por vez. O ponto de extremidade retornará apenas os resultados de POI categorizados conforme especificado. A resposta inclui detalhes de POI, como endereço, um par de localização e classificação de coordenadas.

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

Parâmetros

options
SearchPointOfInterestCategoryOptions

opções adicionais

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Comentários

Obter POI por categoria

Aplica-se a