MapRouteManeuver MapRouteManeuver MapRouteManeuver MapRouteManeuver Class

Definition

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

public : sealed class MapRouteManeuver : IMapRouteManeuver, IMapRouteManeuver2, IMapRouteManeuver3public sealed class MapRouteManeuver : IMapRouteManeuver, IMapRouteManeuver2, IMapRouteManeuver3Public NotInheritable Class MapRouteManeuver Implements IMapRouteManeuver, IMapRouteManeuver2, IMapRouteManeuver3// This API is not available in Javascript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

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.

Properties

EndHeading EndHeading EndHeading 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.

public : double EndHeading { get; }public double EndHeading { get; }Public ReadOnly Property EndHeading As double// This API is not available in Javascript.
Value
double double double double

The heading at the end of the maneuver in degrees, where 0 or 360 = North, 90 = East, 180 = South, and 270 = West.

ExitNumber ExitNumber ExitNumber ExitNumber

Gets the exit number of route maneuver.

public : PlatForm::String ExitNumber { get; }public string ExitNumber { get; }Public ReadOnly Property ExitNumber As string// This API is not available in Javascript.
Value
PlatForm::String string string string

The exit number of route maneuver.

See Also

InstructionText InstructionText InstructionText InstructionText

Gets the instruction text associated with the maneuver.

public : PlatForm::String InstructionText { get; }public string InstructionText { get; }Public ReadOnly Property InstructionText As string// This API is not available in Javascript.
Value
PlatForm::String string string string

The instruction text associated with the maneuver.

See Also

Kind Kind Kind Kind

Gets the type of the maneuver.

public : MapRouteManeuverKind Kind { get; }public MapRouteManeuverKind Kind { get; }Public ReadOnly Property Kind As MapRouteManeuverKind// This API is not available in Javascript.
See Also

LengthInMeters LengthInMeters LengthInMeters LengthInMeters

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

public : double LengthInMeters { get; }public double LengthInMeters { get; }Public ReadOnly Property LengthInMeters As double// This API is not available in Javascript.
Value
double double double double

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

See Also

ManeuverNotices ManeuverNotices ManeuverNotices ManeuverNotices

Gets additional information associated with the maneuver.

public : MapManeuverNotices ManeuverNotices { get; }public MapManeuverNotices ManeuverNotices { get; }Public ReadOnly Property ManeuverNotices As MapManeuverNotices// This API is not available in Javascript.
Value
MapManeuverNotices MapManeuverNotices MapManeuverNotices MapManeuverNotices

Additional information associated with the maneuver.

See Also

StartHeading StartHeading StartHeading 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.

public : double StartHeading { get; }public double StartHeading { get; }Public ReadOnly Property StartHeading As double// This API is not available in Javascript.
Value
double double double double

The heading at the start of the maneuver in degrees, where 0 or 360 = North, 90 = East, 180 = South, and 270 = West.

StartingPoint StartingPoint StartingPoint StartingPoint

Gets the location where the maneuver starts.

public : Geopoint StartingPoint { get; }public Geopoint StartingPoint { get; }Public ReadOnly Property StartingPoint As Geopoint// This API is not available in Javascript.
Value
Geopoint Geopoint Geopoint Geopoint

The location where the maneuver starts.

See Also

StreetName StreetName StreetName StreetName

Gets the street name specified in InstructionText, if available.

public : PlatForm::String StreetName { get; }public string StreetName { get; }Public ReadOnly Property StreetName As string// This API is not available in Javascript.
Value
PlatForm::String string string string

The street name specified in InstructionText, if available.

Warnings Warnings Warnings Warnings

Gets a list of potential issues along a route leg.

public : IVectorView<ManeuverWarning> Warnings { get; }public IReadOnlyList<ManeuverWarning> Warnings { get; }Public ReadOnly Property Warnings As IReadOnlyList<ManeuverWarning>// This API is not available in Javascript.
Value
IVectorView<ManeuverWarning> IReadOnlyList<ManeuverWarning> IReadOnlyList<ManeuverWarning> IReadOnlyList<ManeuverWarning>

A list of potential issues along a route leg.

Additional features and requirements
Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)

See Also