Dela via


StreetsidePanorama.FindNearbyAsync Method

Definition

Overloads

FindNearbyAsync(Geopoint)

Creates a StreetsidePanorama near the specified geographic location.

FindNearbyAsync(Geopoint, Double)

Creates a StreetsidePanorama near the specified geographic location and radius.

FindNearbyAsync(Geopoint)

Creates a StreetsidePanorama near the specified geographic location.

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)

Parameters

location
Geopoint

The center of the panoramic view.

Returns

If available, the nearest StreetsidePanorama; otherwise, null.

Attributes

Remarks

Panoramic street-level views are not available for all locations. We recommend checking for null return values before proceeding with a StreetsideExperience.

See also

Applies to

FindNearbyAsync(Geopoint, Double)

Creates a StreetsidePanorama near the specified geographic location and radius.

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)

Parameters

location
Geopoint

The center of the panoramic view.

radiusInMeters
Double

double

The radius to appear in the panoramic view, in meters.

Returns

If available, the nearest StreetsidePanorama; otherwise, null.

Attributes

Remarks

Panoramic street-level views are not available for all locations. We recommend checking for null return values before proceeding with a StreetsideExperience.

See also

Applies to