MapRouteManeuverKind 枚举
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
描述路由中可能发生的各种类型的操作。 此枚举为 MapRouteManeuver 的 Kind 属性提供值。
public enum class MapRouteManeuverKind
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class MapRouteManeuverKind
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum MapRouteManeuverKind
Public Enum MapRouteManeuverKind
- 继承
-
MapRouteManeuverKind
- 属性
Windows 要求
设备系列 |
Windows 10 (在 10.0.10240.0 中引入)
|
API contract |
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)
|
字段
End | 4 | 路由的末尾。 |
FreewayContinueLeft | 20 | 继续在左侧的高速公路上。 |
FreewayContinueRight | 21 | 继续在右侧的高速公路上。 |
FreewayEnterLeft | 16 | 进入左侧的高速公路。 |
FreewayEnterRight | 17 | 进入右侧的高速公路。 |
FreewayLeaveLeft | 18 | 将高速公路留在左侧。 |
FreewayLeaveRight | 19 | 将高速公路留在右侧。 |
GoStraight | 5 | 直走。 |
None | 0 | 未定义操作。 |
Start | 1 | 路由的起点。 |
Stopover | 2 | 路线上的中途停留。 |
StopoverResume | 3 | 中途停留后,路线已恢复。 |
TakeFerry | 24 | 坐渡轮。 |
TrafficCircleLeft | 22 | 输入左侧的交通圈。 |
TrafficCircleRight | 23 | 输入右侧的交通圈。 |
TurnHardLeft | 14 | 进行艰难的左转。 |
TurnHardRight | 15 | 艰难地右转。 |
TurnKeepLeft | 8 | 保持左。 |
TurnKeepRight | 9 | 保持正确。 |
TurnLeft | 12 | 左转。 |
TurnLightLeft | 10 | 轻轻左转。 |
TurnLightRight | 11 | 轻轻右转。 |
TurnRight | 13 | 向右转。 |
UTurnLeft | 6 | 向左 U 转。 |
UTurnRight | 7 | 向右 U 转。 |
注解
通用 Windows 应用必须先进行身份验证,然后才能使用 Windows.Services.Maps 命名空间中的 MapControl 和地图服务。 若要对应用进行身份验证,必须指定地图身份验证密钥。
请参阅 请求映射身份验证密钥。
适用于
另请参阅
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈