MapsSearchClient.SearchPointOfInterestCategoryAsync Method

Definition

Get POI by Category API. Points of Interest (POI) Category Search allows you to request POI results from given category. Search allows to query POIs from one category at a time. Endpoint will only return POI results which are categorized as specified. Response includes POI details such as address, a pair of coordinates location and classification.

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))

Parameters

options
SearchPointOfInterestCategoryOptions

additional options

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Remarks

Get POI by Category

Applies to