Dela via


MapRouteFinder.GetWalkingRouteAsync(Geopoint, Geopoint) Method

Definition

Gets a walking route using the specified start and end coordinates.

public:
 static IAsyncOperation<MapRouteFinderResult ^> ^ GetWalkingRouteAsync(Geopoint ^ startPoint, Geopoint ^ endPoint);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<MapRouteFinderResult> GetWalkingRouteAsync(Geopoint const& startPoint, Geopoint const& endPoint);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<MapRouteFinderResult> GetWalkingRouteAsync(Geopoint startPoint, Geopoint endPoint);
function getWalkingRouteAsync(startPoint, endPoint)
Public Shared Function GetWalkingRouteAsync (startPoint As Geopoint, endPoint As Geopoint) As IAsyncOperation(Of MapRouteFinderResult)

Parameters

startPoint
Geopoint

The starting point of the walking route.

endPoint
Geopoint

The ending point of the walking route.

Returns

When this method completes successfully, it returns a walking route contained in the MapRouteFinderResult.

Attributes

Applies to

See also