MapsSearchClient.SearchNearbyPointOfInterestAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 System.Threading.Tasks.Task<Azure.Response<Azure.Maps.Search.Models.SearchAddressResult>> SearchNearbyPointOfInterestAsync (Azure.Maps.Search.SearchNearbyPointOfInterestOptions options = default, System.Threading.CancellationToken cancellationToken = default);
abstract member SearchNearbyPointOfInterestAsync : Azure.Maps.Search.SearchNearbyPointOfInterestOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Maps.Search.Models.SearchAddressResult>>
override this.SearchNearbyPointOfInterestAsync : Azure.Maps.Search.SearchNearbyPointOfInterestOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Maps.Search.Models.SearchAddressResult>>
Public Overridable Function SearchNearbyPointOfInterestAsync (Optional options As SearchNearbyPointOfInterestOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SearchAddressResult))
Parameters
additional options
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Remarks
Nearby Search
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應