Udostępnij za pośrednictwem


MapRouteManeuverKind Enum

Definition

Describes the various types of maneuvers that can occur in a route. This enumeration provides values for the Kind property of a MapRouteManeuver.

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
Inheritance
MapRouteManeuverKind
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
None 0

The maneuver is not defined.

Start 1

The start of the route.

Stopover 2

A stopover on the route.

StopoverResume 3

The route has resumed after a stopover.

End 4

The end of the route.

GoStraight 5

Go straight.

UTurnLeft 6

Make a U-turn to the left.

UTurnRight 7

Make a U-turn to the right.

TurnKeepLeft 8

Keep left.

TurnKeepRight 9

Keep right.

TurnLightLeft 10

Make a gentle left turn.

TurnLightRight 11

Make a gentle right turn.

TurnLeft 12

Turn left.

TurnRight 13

Turn right.

TurnHardLeft 14

Make a hard left turn.

TurnHardRight 15

Make a hard right turn.

FreewayEnterLeft 16

Enter the freeway on the left.

FreewayEnterRight 17

Enter the freeway on the right.

FreewayLeaveLeft 18

Leave the freeway on the left.

FreewayLeaveRight 19

Leave the freeway on the right.

FreewayContinueLeft 20

Continue on the freeway on the left.

FreewayContinueRight 21

Continue on the freeway on the right.

TrafficCircleLeft 22

Enter the traffic circle on the left.

TrafficCircleRight 23

Enter the traffic circle on the right.

TakeFerry 24

Take the ferry.

Remarks

Important

Bing Maps for Enterprise service retirement

The UWP MapControl and map services from the Windows.Services.Maps namespaces rely on Bing Maps. Bing Maps for Enterprise is deprecated and will be retired, at which point the MapControl and services will no longer receive data.

For more information, see the Bing Maps Developer Center and Bing Maps documentation.

Your app must be authenticated before it can use the MapControl and map services in the Windows.Services.Maps namespace. To authenticate your app, you must specify a maps authentication key.

See Request a maps authentication key.

Applies to

See also