MapRouteManeuverKind 枚举

定义

描述可在路由中发生的各种类型的操作。 此枚举为 MapRouteManeuverKind 属性提供值。

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.Services.Maps 命名空间中的 UWP MapControl 和地图服务依赖于必应地图。 必应地图企业版已弃用,并且将停用,此时 MapControl 和服务将不再接收数据。

有关详细信息,请参阅 必应地图开发人员中心必应地图文档

必须先对应用进行身份验证,然后才能在 Windows.Services.Maps 命名空间中使用 MapControl 和地图服务。 若要对应用进行身份验证,必须指定映射身份验证密钥。

请参阅 请求映射身份验证密钥

适用于

另请参阅