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 鍵。

備註

重要

Bing 地圖服務企業版服務淘汰

來自 Windows.Services.Maps 命名空間的 UWP MapControl 和地圖服務依賴 Bing 地圖服務。 Bing Enterprise 地圖服務已被取代,且將會淘汰,此時 MapControl 和服務將不再接收數據。

如需詳細資訊,請參閱 Bing 地圖服務開發人員中心Bing 地圖服務檔

您的應用程式必須先經過驗證,才能使用 Windows.Services.Maps 命名空間中的 MapControl 和地圖服務。 若要驗證您的應用程式,您必須指定地圖驗證金鑰。

請參閱 要求地圖驗證金鑰

適用於

另請參閱