共用方式為


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 引進)

適用於