Delen via


MapRouteFinder.GetDrivingRouteFromWaypointsAsync Method

Definition

Overloads

GetDrivingRouteFromWaypointsAsync(IIterable<Geopoint>)

Gets a driving route for the specified waypoints (using optimizations).

GetDrivingRouteFromWaypointsAsync(IIterable<Geopoint>, MapRouteOptimization)

Gets a driving route for the specified waypoints.

GetDrivingRouteFromWaypointsAsync(IIterable<Geopoint>, MapRouteOptimization, MapRouteRestrictions)

Gets a driving route for the specified waypoints (using optimizations and restrictions).

GetDrivingRouteFromWaypointsAsync(IIterable<Geopoint>, MapRouteOptimization, MapRouteRestrictions, Double)

Gets a driving route for the specified waypoints (using optimizations, restrictions, and heading).

GetDrivingRouteFromWaypointsAsync(IIterable<Geopoint>)

Gets a driving route for the specified waypoints (using optimizations).

public:
 static IAsyncOperation<MapRouteFinderResult ^> ^ GetDrivingRouteFromWaypointsAsync(IIterable<Geopoint ^> ^ wayPoints);
/// [Windows.Foundation.Metadata.Overload("GetDrivingRouteFromWaypointsAsync")]
 static IAsyncOperation<MapRouteFinderResult> GetDrivingRouteFromWaypointsAsync(IIterable<Geopoint> const& wayPoints);
[Windows.Foundation.Metadata.Overload("GetDrivingRouteFromWaypointsAsync")]
public static IAsyncOperation<MapRouteFinderResult> GetDrivingRouteFromWaypointsAsync(IEnumerable<Geopoint> wayPoints);
function getDrivingRouteFromWaypointsAsync(wayPoints)
Public Shared Function GetDrivingRouteFromWaypointsAsync (wayPoints As IEnumerable(Of Geopoint)) As IAsyncOperation(Of MapRouteFinderResult)

Parameters

wayPoints

IIterable<Geopoint>

IEnumerable<Geopoint>

The start and end coordinates and optional waypoints of the driving route.

Returns

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

Attributes

See also

Applies to

GetDrivingRouteFromWaypointsAsync(IIterable<Geopoint>, MapRouteOptimization)

Gets a driving route for the specified waypoints.

public:
 static IAsyncOperation<MapRouteFinderResult ^> ^ GetDrivingRouteFromWaypointsAsync(IIterable<Geopoint ^> ^ wayPoints, MapRouteOptimization optimization);
/// [Windows.Foundation.Metadata.Overload("GetDrivingRouteFromWaypointsAndOptimizationAsync")]
 static IAsyncOperation<MapRouteFinderResult> GetDrivingRouteFromWaypointsAsync(IIterable<Geopoint> const& wayPoints, MapRouteOptimization const& optimization);
[Windows.Foundation.Metadata.Overload("GetDrivingRouteFromWaypointsAndOptimizationAsync")]
public static IAsyncOperation<MapRouteFinderResult> GetDrivingRouteFromWaypointsAsync(IEnumerable<Geopoint> wayPoints, MapRouteOptimization optimization);
function getDrivingRouteFromWaypointsAsync(wayPoints, optimization)
Public Shared Function GetDrivingRouteFromWaypointsAsync (wayPoints As IEnumerable(Of Geopoint), optimization As MapRouteOptimization) As IAsyncOperation(Of MapRouteFinderResult)

Parameters

wayPoints

IIterable<Geopoint>

IEnumerable<Geopoint>

The start and end coordinates and optional waypoints of the driving route.

optimization
MapRouteOptimization

The optimizations to apply when calculating the driving route.

Returns

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

Attributes

See also

Applies to

GetDrivingRouteFromWaypointsAsync(IIterable<Geopoint>, MapRouteOptimization, MapRouteRestrictions)

Gets a driving route for the specified waypoints (using optimizations and restrictions).

public:
 static IAsyncOperation<MapRouteFinderResult ^> ^ GetDrivingRouteFromWaypointsAsync(IIterable<Geopoint ^> ^ wayPoints, MapRouteOptimization optimization, MapRouteRestrictions restrictions);
/// [Windows.Foundation.Metadata.Overload("GetDrivingRouteFromWaypointsOptimizationAndRestrictionsAsync")]
 static IAsyncOperation<MapRouteFinderResult> GetDrivingRouteFromWaypointsAsync(IIterable<Geopoint> const& wayPoints, MapRouteOptimization const& optimization, MapRouteRestrictions const& restrictions);
[Windows.Foundation.Metadata.Overload("GetDrivingRouteFromWaypointsOptimizationAndRestrictionsAsync")]
public static IAsyncOperation<MapRouteFinderResult> GetDrivingRouteFromWaypointsAsync(IEnumerable<Geopoint> wayPoints, MapRouteOptimization optimization, MapRouteRestrictions restrictions);
function getDrivingRouteFromWaypointsAsync(wayPoints, optimization, restrictions)
Public Shared Function GetDrivingRouteFromWaypointsAsync (wayPoints As IEnumerable(Of Geopoint), optimization As MapRouteOptimization, restrictions As MapRouteRestrictions) As IAsyncOperation(Of MapRouteFinderResult)

Parameters

wayPoints

IIterable<Geopoint>

IEnumerable<Geopoint>

The start and end coordinates and optional waypoints of the driving route.

optimization
MapRouteOptimization

The optimizations to apply when calculating the driving route.

restrictions
MapRouteRestrictions

The restrictions to apply when calculating the driving route.

Returns

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

Attributes

See also

Applies to

GetDrivingRouteFromWaypointsAsync(IIterable<Geopoint>, MapRouteOptimization, MapRouteRestrictions, Double)

Gets a driving route for the specified waypoints (using optimizations, restrictions, and heading).

public:
 static IAsyncOperation<MapRouteFinderResult ^> ^ GetDrivingRouteFromWaypointsAsync(IIterable<Geopoint ^> ^ wayPoints, MapRouteOptimization optimization, MapRouteRestrictions restrictions, double headingInDegrees);
/// [Windows.Foundation.Metadata.Overload("GetDrivingRouteFromWaypointsOptimizationRestrictionsAndHeadingAsync")]
 static IAsyncOperation<MapRouteFinderResult> GetDrivingRouteFromWaypointsAsync(IIterable<Geopoint> const& wayPoints, MapRouteOptimization const& optimization, MapRouteRestrictions const& restrictions, double const& headingInDegrees);
[Windows.Foundation.Metadata.Overload("GetDrivingRouteFromWaypointsOptimizationRestrictionsAndHeadingAsync")]
public static IAsyncOperation<MapRouteFinderResult> GetDrivingRouteFromWaypointsAsync(IEnumerable<Geopoint> wayPoints, MapRouteOptimization optimization, MapRouteRestrictions restrictions, double headingInDegrees);
function getDrivingRouteFromWaypointsAsync(wayPoints, optimization, restrictions, headingInDegrees)
Public Shared Function GetDrivingRouteFromWaypointsAsync (wayPoints As IEnumerable(Of Geopoint), optimization As MapRouteOptimization, restrictions As MapRouteRestrictions, headingInDegrees As Double) As IAsyncOperation(Of MapRouteFinderResult)

Parameters

wayPoints

IIterable<Geopoint>

IEnumerable<Geopoint>

The start and end coordinates and optional waypoints of the driving route.

optimization
MapRouteOptimization

The optimizations to apply when calculating the driving route.

restrictions
MapRouteRestrictions

The restrictions to apply when calculating the driving route.

headingInDegrees
Double

double

The preferred start direction from the current location for the driving route.

Returns

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

Attributes

See also

Applies to