TurnDetails class
Provides navigation turn details.
A TurnDetails object describes a manoeuvre and its abstract geometry. It contains a machine-readable geometry model abstractGeometry, image representations of that geometry abstractGeometryImg, and the corresponding navigation event event.
Instances are created by the SDK and returned from higher-level classes such as RouteInstruction or NavigationInstruction.
See also:
- AbstractGeometry — Structured geometry model for the turn.
- AbstractGeometryImg — Renderable image wrapper for abstract geometry.
- RouteInstruction.getTurnImage — Simplified turn image for UI as an alternative to the abstractGeometryImg.
Properties
- abstractGeometry → AbstractGeometry
-
Structured representation of the turn geometry.
no setter
- abstractGeometryImageUid → int
-
Unique identifier for the abstract geometry image.
no setter
- abstractGeometryImg → AbstractGeometryImg
-
Get the vectorial representation for the turn details image as a AbstractGeometryImg.
no setter
- event → TurnEvent
-
Navigation event for this turn (turn direction/type).
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- pointerId → int
-
no setter
- roundaboutExitNumber → int
-
Roundabout exit index.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → void -
getAbstractGeometryImage(
{Size? size, ImageFileFormat? format, AbstractGeometryImageRenderSettings renderSettings = const AbstractGeometryImageRenderSettings()}) → Uint8List? - Returns image bytes for the abstract geometry.
-
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