Dela via


MapRouteFinder.GetDrivingRouteFromEnhancedWaypointsAsync Method

Definition

Overloads

GetDrivingRouteFromEnhancedWaypointsAsync(IIterable<EnhancedWaypoint>)

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

GetDrivingRouteFromEnhancedWaypointsAsync(IIterable<EnhancedWaypoint>, MapRouteDrivingOptions)

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

GetDrivingRouteFromEnhancedWaypointsAsync(IIterable<EnhancedWaypoint>)

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

public:
 static IAsyncOperation<MapRouteFinderResult ^> ^ GetDrivingRouteFromEnhancedWaypointsAsync(IIterable<EnhancedWaypoint ^> ^ waypoints);
/// [Windows.Foundation.Metadata.Overload("GetDrivingRouteFromEnhancedWaypointsAsync")]
 static IAsyncOperation<MapRouteFinderResult> GetDrivingRouteFromEnhancedWaypointsAsync(IIterable<EnhancedWaypoint> const& waypoints);
[Windows.Foundation.Metadata.Overload("GetDrivingRouteFromEnhancedWaypointsAsync")]
public static IAsyncOperation<MapRouteFinderResult> GetDrivingRouteFromEnhancedWaypointsAsync(IEnumerable<EnhancedWaypoint> waypoints);
function getDrivingRouteFromEnhancedWaypointsAsync(waypoints)
Public Shared Function GetDrivingRouteFromEnhancedWaypointsAsync (waypoints As IEnumerable(Of EnhancedWaypoint)) As IAsyncOperation(Of MapRouteFinderResult)

Parameters

waypoints

IIterable<EnhancedWaypoint>

IEnumerable<EnhancedWaypoint>

A collection of stop, start, or intermediate waypoint that a route must pass through.

Returns

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

Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Applies to

GetDrivingRouteFromEnhancedWaypointsAsync(IIterable<EnhancedWaypoint>, MapRouteDrivingOptions)

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

public:
 static IAsyncOperation<MapRouteFinderResult ^> ^ GetDrivingRouteFromEnhancedWaypointsAsync(IIterable<EnhancedWaypoint ^> ^ waypoints, MapRouteDrivingOptions ^ options);
/// [Windows.Foundation.Metadata.Overload("GetDrivingRouteFromEnhancedWaypointsWithOptionsAsync")]
 static IAsyncOperation<MapRouteFinderResult> GetDrivingRouteFromEnhancedWaypointsAsync(IIterable<EnhancedWaypoint> const& waypoints, MapRouteDrivingOptions const& options);
[Windows.Foundation.Metadata.Overload("GetDrivingRouteFromEnhancedWaypointsWithOptionsAsync")]
public static IAsyncOperation<MapRouteFinderResult> GetDrivingRouteFromEnhancedWaypointsAsync(IEnumerable<EnhancedWaypoint> waypoints, MapRouteDrivingOptions options);
function getDrivingRouteFromEnhancedWaypointsAsync(waypoints, options)
Public Shared Function GetDrivingRouteFromEnhancedWaypointsAsync (waypoints As IEnumerable(Of EnhancedWaypoint), options As MapRouteDrivingOptions) As IAsyncOperation(Of MapRouteFinderResult)

Parameters

waypoints

IIterable<EnhancedWaypoint>

IEnumerable<EnhancedWaypoint>

A collection of stop, start, or intermediate waypoint that a route must pass through.

options
MapRouteDrivingOptions

The advanced routing options to be applied to this route.

Returns

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

Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Applies to