MapRouteManeuver Class

Definition

Represents actions to be taken along the path of a route leg.

public ref class MapRouteManeuver sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.WebHostHidden]
class MapRouteManeuver sealed
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.WebHostHidden]
public sealed class MapRouteManeuver
Public NotInheritable Class MapRouteManeuver
Inheritance
MapRouteManeuver
Attributes

Windows 10 requirements

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

Remarks

A collection of MapRouteManeuver objects is returned through the Maneuvers property of a MapRouteLeg object. A collection of MapRouteLeg objects is returned through the Legs property of a MapRoute object. A MapRoute object is returned through the Route property of the MapRouteFinderResult when you call the methods of the MapRouteFinder class.

Your Universal Windows 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.

Version history

Windows version SDK version Value added
1703 15063 Warnings

Properties

EndHeading

Gets a value that indicates the heading at the end of the maneuver in degrees, where 0 or 360 = North, 90 = East, 180 = South, and 270 = West.

ExitNumber

Gets the exit number of route maneuver.

InstructionText

Gets the instruction text associated with the maneuver.

Kind

Gets the type of the maneuver.

LengthInMeters

Gets the distance in meters to the start of the next maneuver.

ManeuverNotices

Gets additional information associated with the maneuver.

StartHeading

Gets a value that indicates the heading at the start of the maneuver in degrees, where 0 or 360 = North, 90 = East, 180 = South, and 270 = West.

StartingPoint

Gets the location where the maneuver starts.

StreetName

Gets the street name specified in InstructionText, if available.

Warnings

Gets a list of potential issues along a route leg.

Applies to

See also