Skip To Content ArcGIS for Developers Sign In Dashboard

DirectionManeuver QML Type

Information about a specific maneuver that must be made in a Route. More...

Import Statement: import Esri.ArcGISRuntime 100.6
Since: Esri.ArcGISRuntime 100.0
Inherits:

Object

Properties

Detailed Description

Note: You cannot declare or create a component of this type in QML code.

A Route contains a list of DirectionManeuvers that must be made. Each DirectionManeuver contains information such as a DirectionEvent, DirectionMessage, and DirectionType. These are useful for producing turn by turn directions for a Route.

Examples of a DirectionManeuver include "Turn left", "Sharp right", or "Make a U-turn".

Property Documentation

directionEvents : list<DirectionEvent>

Returns a list of DirectionEvent (e.g. passing state boundaries) (read-only).


directionManeuverType : Enums.DirectionManeuverType

Returns the maneuver used to perform this direction (e.g. Depart, Go Straight, and so on) (read-only).

See also Enums.DirectionManeuverType.


directionText : string

Returns the textual representation of a direction (e.g. Turn right on Main Street) (read-only).


duration : double

Returns the duration of a DirectionManeuver in minutes (read-only).


estimatedArrivalTime : date

Returns the estimated arrival time for this DirectionManeuver of the Route in UTC time (read-only).


estimatedArrivalTimeShift : double

Returns the time zone shift of estimated arrival time for this segment of the route in minutes (read-only).


fromLevel : int

Returns the from level value for a direction maneuver.

This property provides a way to filter directions based on logical level division.

For example, 3D routing applications might render a 2D map and it might be useful to display route lines by logical levels instead of displaying the whole route line that overlaps individual lines on different levels.

This property is populated from the source data and is never calculated by the directions engine. If the source data does not contain the from level field, the property will be set to -1.

This QML property was introduced in Esri.ArcGISRuntime 100.2.


geometry : Geometry

Returns the geometry for this segment of the Route (read-only).


length : double

Returns the length of this DirectionManeuver (read-only).

The returned value's units is determined by what is set in RouteParameters::directionsDistanceUnits.


maneuverMessages : list<DirectionMessage>

Returns a list of detailed direction messages for this DirectionManeuver (read-only).


toLevel : int

Returns the to level value for a direction maneuver.

This property provides a way to filter directions based on logical level division.

For example, 3D routing applications might render a 2D map and it might be useful to display route lines by logical levels instead of displaying the whole route line that overlaps individual lines on different levels.

This property is populated from the source data and is never calculated by the directions engine. If the source data does not contain the to level field, the property will be set to -1.

This QML property was introduced in Esri.ArcGISRuntime 100.2.



Feedback on this topic?