StreetsidePanorama.FindNearbyAsync 方法

定义

重载

FindNearbyAsync(Geopoint)

在指定地理位置附近创建 StreetsidePanorama

FindNearbyAsync(Geopoint, Double)

在指定地理位置和半径附近创建 StreetsidePanorama

FindNearbyAsync(Geopoint)

在指定地理位置附近创建 StreetsidePanorama

public:
 static IAsyncOperation<StreetsidePanorama ^> ^ FindNearbyAsync(Geopoint ^ location);
/// [Windows.Foundation.Metadata.Overload("FindNearbyWithLocationAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<StreetsidePanorama> FindNearbyAsync(Geopoint const& location);
[Windows.Foundation.Metadata.Overload("FindNearbyWithLocationAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<StreetsidePanorama> FindNearbyAsync(Geopoint location);
function findNearbyAsync(location)
Public Shared Function FindNearbyAsync (location As Geopoint) As IAsyncOperation(Of StreetsidePanorama)

参数

location
Geopoint

全景的中心。

返回

如果可用,则为最近的 StreetsidePanorama;否则为 null

属性

注解

并非所有位置都提供街景全景视图。 我们建议在继续使用 StreetsideExperience 之前检查 null 返回值。

另请参阅

适用于

FindNearbyAsync(Geopoint, Double)

在指定地理位置和半径附近创建 StreetsidePanorama

public:
 static IAsyncOperation<StreetsidePanorama ^> ^ FindNearbyAsync(Geopoint ^ location, double radiusInMeters);
/// [Windows.Foundation.Metadata.Overload("FindNearbyWithLocationAndRadiusAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<StreetsidePanorama> FindNearbyAsync(Geopoint const& location, double const& radiusInMeters);
[Windows.Foundation.Metadata.Overload("FindNearbyWithLocationAndRadiusAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<StreetsidePanorama> FindNearbyAsync(Geopoint location, double radiusInMeters);
function findNearbyAsync(location, radiusInMeters)
Public Shared Function FindNearbyAsync (location As Geopoint, radiusInMeters As Double) As IAsyncOperation(Of StreetsidePanorama)

参数

location
Geopoint

全景的中心。

radiusInMeters
Double

double

要出现在全景视图中的半径(以米为单位)。

返回

如果可用,则为最近的 StreetsidePanorama;否则为 null

属性

注解

并非所有位置都提供街景全景视图。 我们建议在继续使用 StreetsideExperience 之前检查 null 返回值。

另请参阅

适用于