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

IAsyncOperation<StreetsidePanorama>

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

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

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

Returns

IAsyncOperation<StreetsidePanorama>

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