你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MapsSearchClient.SearchNearbyPointOfInterest 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
附近的搜索 API。 如果你有一个仅检索特定位置的 POI 结果的用例,则附近的搜索方法可能是正确的选择。 此终结点仅返回 POI 结果,不采用搜索查询参数。
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)
参数
其他选项
- cancellationToken
- CancellationToken
要使用的取消标记。
返回
注解
附近搜索