Information about a specific maneuver that must be made in a Route. More...
Import Statement: | import Esri.ArcGISRuntime 100.15 |
Since: | Esri.ArcGISRuntime 100.0 |
Inherits: |
Properties
- directionEvents : list<DirectionEvent>
- directionManeuverType : Enums.DirectionManeuverType
- directionText : string
- duration : double
- estimatedArrivalTime : date
- estimatedArrivalTimeShift : double
- fromLevel : int
- geometry : Geometry
- length : double
- maneuverMessages : list<DirectionMessage>
- toLevel : int
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).
Returns the maneuver used to perform this direction (e.g. Depart, Go Straight, and so on) (read-only).
See also Enums.DirectionManeuverType.
Returns the textual representation of a direction (e.g. Turn right on Main Street) (read-only).
Returns the duration of a DirectionManeuver in minutes (read-only).
Returns the estimated arrival time for this DirectionManeuver of the Route in UTC time (read-only).
Returns the time zone shift of estimated arrival time for this segment of the route in minutes (read-only).
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 property was introduced in Esri.ArcGISRuntime 100.2.
geometry : Geometry |
Returns the geometry for this segment of the Route (read-only).
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).
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 property was introduced in Esri.ArcGISRuntime 100.2.