Maneuver class abstract

This class provides all the information for a maneuver.

The directional information (e.g. road names, road numbers and signpost direction) is stored in Maneuver.roadTexts and Maneuver.nextRoadTexts attributes. As for the motorway exit information, it can be obtained from Maneuver.exitSignTexts attribute.

Constructors

Maneuver()

Properties

action → ManeuverAction
Indicates the maneuver action. Gets the maneuver action.
no setter
coordinates → GeoCoordinates
Geographic coordinates where the maneuver is located. Gets the geographic coordinates where the maneuver is located.
no setter
countryCode → String?
The country code of the maneuver position. The value is null when no data is available. Gets the country code of the maneuver position. The value is null when no data is available.
no setter
duration → Duration
The estimated time in seconds needed to perform the maneuver. Gets the estimated time in seconds needed to perform the maneuver.
no setter
exitSignTexts → LocalizedTexts
The textual attributes of the exit sign. These might contain exit number(s) and/or name(s). These attributes are only available for the Navigate license. Otherwise, the attributes are always empty. Gets the textual attributes of the exit sign. These might contain exit number(s) and/or name(s).
no setter
hashCode → int
The hash code for this object.
no setterinherited
intersectionNames → LocalizedTexts
The textual attributes of the intersection. These attributes are only available for the Navigate license. Otherwise, the attributes are always empty. Note: Routes calculated with OfflineRoutingEngine are not supported. Gets the textual attributes of the intersection.
no setter
lengthInMeters → int
The length of the maneuver in meters. Gets the length of the maneuver in meters.
no setter
nextRoadTexts → RoadTexts
The textual attributes of the next road containing the corresponding road name(s) and road number(s) after the maneuver point. These attributes are only available for the Navigate license. Otherwise, the attributes are always empty. Gets the textual attributes of the next road containing the corresponding road name(s) and road number(s) after the maneuver point.
no setter
offset → int
Index over Section.geometry where the maneuver is located. Gets the index over Section.geometry where the maneuver is located.
no setter
roadTexts → RoadTexts
The textual attributes of the current road containing road names, road numbers and signpost direction (towards) information. Note: These attributes are only available for the Navigate license. Otherwise, the attributes are always empty. Gets the textual attributes of the current road containing road names, road numbers and signpost direction (towards) information.
no setter
roundaboutAngleInDegrees → double?
The angle represents the estimated rotation performed while traversing the roundabout. The angle is calculated between the route entry and exit points and reflects the overall direction change along the route through the roundabout.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sectionIndex → int
Index over Route.sections indicating the section to which the maneuver belongs to. Gets the index over Route.sections indicating the section to which the maneuver belongs to.
no setter
signpost → Signpost?
Gets the Signpost object. Gets Signpost object.
no setter
spanIndex → int
Index over Section.spans indicating the first span after the maneuver point. Note: The span index for the last maneuvers (those maneuvers with maneuver action set to ManeuverAction.arrive) cannot be used, since these maneuvers are placed after the last span of the route and the span index for them would be greater than the span list size. Gets the index over Section.spans indicating the first span after the maneuver point.
no setter
text → String
The maneuver instruction. The text is formatted and localized as specified via RouteTextOptions. Note for users of the Navigate license: This text is meant to be displayed in a preview context, whereas real-time EventTextListener texts are meant to be used for spoken voice announcements during a trip. Gets the maneuver instruction. The text is formatted and localized as specified via RouteTextOptions.
no setter
turnAngleInDegrees → double?
The angle of the turn component of the maneuver. The angle increases clockwise and small values are used for going straight, i.e. a positive number means there is a right turn and a negative number is a left turn. Some maneuvers like Depart, Arrive and Roundabout pass doesn't have a well defined angle, so the value is omitted. Note: These attributes are only available for the Navigate license. Gets the angle of the turn component of the maneuver. The value is in degrees and from -180 to 180.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited