MapRouteFinder.GetDrivingRouteFromEnhancedWaypointsAsync 方法

定义

重载

GetDrivingRouteFromEnhancedWaypointsAsync(IIterable<EnhancedWaypoint>)

使用优化) 获取指定航点 (的行驶路线。

GetDrivingRouteFromEnhancedWaypointsAsync(IIterable<EnhancedWaypoint>, MapRouteDrivingOptions)

使用优化) 获取指定航点 (的行驶路线。

GetDrivingRouteFromEnhancedWaypointsAsync(IIterable<EnhancedWaypoint>)

使用优化) 获取指定航点 (的行驶路线。

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)

参数

waypoints

IIterable<EnhancedWaypoint>

IEnumerable<EnhancedWaypoint>

路由必须通过的停止、启动或中间路点的集合。

返回

此方法成功完成后,将返回 MapRouteFinderResult 中包含的驾驶路线。

属性

Windows 要求

设备系列
Windows 10 Creators Update (在 10.0.15063.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v4.0 中引入)

适用于

GetDrivingRouteFromEnhancedWaypointsAsync(IIterable<EnhancedWaypoint>, MapRouteDrivingOptions)

使用优化) 获取指定航点 (的行驶路线。

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)

参数

waypoints

IIterable<EnhancedWaypoint>

IEnumerable<EnhancedWaypoint>

路由必须通过的停止、启动或中间路点的集合。

options
MapRouteDrivingOptions

要应用于此路由的高级路由选项。

返回

此方法成功完成后,将返回 MapRouteFinderResult 中包含的驾驶路线。

属性

Windows 要求

设备系列
Windows 10 Creators Update (在 10.0.15063.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v4.0 中引入)

适用于