MapRouteFinder.GetDrivingRouteFromWaypointsAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
GetDrivingRouteFromWaypointsAsync(IIterable<Geopoint>) |
使用优化) 获取指定航点 (的行驶路线。 |
GetDrivingRouteFromWaypointsAsync(IIterable<Geopoint>, MapRouteOptimization) |
获取指定航点的行驶路线。 |
GetDrivingRouteFromWaypointsAsync(IIterable<Geopoint>, MapRouteOptimization, MapRouteRestrictions) |
使用优化和限制) 获取指定航点 (的行驶路线。 |
GetDrivingRouteFromWaypointsAsync(IIterable<Geopoint>, MapRouteOptimization, MapRouteRestrictions, Double) |
使用优化、限制和航向) 获取指定航点 (的行驶路线。 |
GetDrivingRouteFromWaypointsAsync(IIterable<Geopoint>)
使用优化) 获取指定航点 (的行驶路线。
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)
参数
- wayPoints
驾驶路线的起点和终点坐标和可选航点。
返回
此方法成功完成后,将返回 MapRouteFinderResult 中包含的驾驶路线。
- 属性
另请参阅
- GetDrivingRouteFromWaypointsAsync(IIterable<Geopoint>, MapRouteOptimization)
- GetDrivingRouteFromWaypointsAsync(IIterable<Geopoint>, MapRouteOptimization, MapRouteRestrictions)
- GetDrivingRouteFromWaypointsAsync(IIterable<Geopoint>, MapRouteOptimization, MapRouteRestrictions, Double)
- 在地图上显示路线和方向
适用于
GetDrivingRouteFromWaypointsAsync(IIterable<Geopoint>, MapRouteOptimization)
获取指定航点的行驶路线。
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)
参数
- wayPoints
驾驶路线的起点和终点坐标和可选航点。
- optimization
- MapRouteOptimization
计算驾驶路线时要应用的优化。
返回
此方法成功完成后,将返回 MapRouteFinderResult 中包含的驾驶路线。
- 属性
另请参阅
- GetDrivingRouteFromWaypointsAsync(IIterable<Geopoint>)
- GetDrivingRouteFromWaypointsAsync(IIterable<Geopoint>, MapRouteOptimization, MapRouteRestrictions)
- GetDrivingRouteFromWaypointsAsync(IIterable<Geopoint>, MapRouteOptimization, MapRouteRestrictions, Double)
- 在地图上显示路线和方向
适用于
GetDrivingRouteFromWaypointsAsync(IIterable<Geopoint>, MapRouteOptimization, MapRouteRestrictions)
使用优化和限制) 获取指定航点 (的行驶路线。
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)
参数
- wayPoints
驾驶路线的起点和终点坐标和可选航点。
- optimization
- MapRouteOptimization
计算驾驶路线时要应用的优化。
- restrictions
- MapRouteRestrictions
计算驾驶路线时要应用的限制。
返回
此方法成功完成后,将返回 MapRouteFinderResult 中包含的驾驶路线。
- 属性
另请参阅
- GetDrivingRouteFromWaypointsAsync(IIterable<Geopoint>)
- GetDrivingRouteFromWaypointsAsync(IIterable<Geopoint>, MapRouteOptimization)
- GetDrivingRouteFromWaypointsAsync(IIterable<Geopoint>, MapRouteOptimization, MapRouteRestrictions, Double)
- 在地图上显示路线和方向
适用于
GetDrivingRouteFromWaypointsAsync(IIterable<Geopoint>, MapRouteOptimization, MapRouteRestrictions, Double)
使用优化、限制和航向) 获取指定航点 (的行驶路线。
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)
参数
- wayPoints
驾驶路线的起点和终点坐标和可选航点。
- optimization
- MapRouteOptimization
计算驾驶路线时要应用的优化。
- restrictions
- MapRouteRestrictions
计算驾驶路线时要应用的限制。
- headingInDegrees
-
Double
double
从驾驶路线的当前位置开始的首选起始方向。
返回
此方法成功完成后,将返回 MapRouteFinderResult 中包含的驾驶路线。
- 属性
另请参阅
- GetDrivingRouteFromWaypointsAsync(IIterable<Geopoint>)
- GetDrivingRouteFromWaypointsAsync(IIterable<Geopoint>, MapRouteOptimization)
- GetDrivingRouteFromWaypointsAsync(IIterable<Geopoint>, MapRouteOptimization, MapRouteRestrictions)
- 在地图上显示路线和方向