Loading...
Searching...
No Matches
RouteInstruction Class Reference

Next instruction for a guidance banner. More...

Public Member Functions

 RouteInstruction (this.type, this.point, this.sublocationId, this.distance, this.title)
 Default constructor.
 

Public Attributes

RouteAnnotationType type
 Annotation kind (transition, maneuver, finish, …).
 
GlobalPoint point
 Instruction point in WGS84.
 
int sublocationId
 Floor id, or null when the instruction is outdoor.
 
double distance
 Meters along the route from the current progress to this point.
 
String title
 Short label, when the annotation has one.
 

Detailed Description

Next instruction for a guidance banner.

Built from the next RouteAnnotation ahead of the current route progress. distance is meters along the route, not a straight-line chord. This is a pedestrian manoeuvre (no lanes, signs, or road events).

Definition at line 27 of file route_instruction.dart.

Constructor & Destructor Documentation

◆ RouteInstruction()

RouteInstruction.RouteInstruction ( this. type,
this. point,
this. sublocationId,
this. distance,
this. title )

Default constructor.

Member Data Documentation

◆ distance

double RouteInstruction.distance

Meters along the route from the current progress to this point.

Definition at line 45 of file route_instruction.dart.

◆ point

GlobalPoint RouteInstruction.point

Instruction point in WGS84.

Definition at line 37 of file route_instruction.dart.

◆ sublocationId

int RouteInstruction.sublocationId

Floor id, or null when the instruction is outdoor.

Definition at line 41 of file route_instruction.dart.

◆ title

String RouteInstruction.title

Short label, when the annotation has one.

Definition at line 49 of file route_instruction.dart.

◆ type

RouteAnnotationType RouteInstruction.type

Annotation kind (transition, maneuver, finish, …).

Definition at line 33 of file route_instruction.dart.


The documentation for this class was generated from the following file: