RoutePointInstruction
Represents a navigation instruction at a specific point along the route.
This class interprets native route point data into localized instructions, icons, and landmark references using the provided context and metadata.
Properties
Functions
Builds a localized instruction object with text and an icon based on this point's InstructionType.
The type of instruction (e.g., Turn Left, Go Straight).
Returns the map rotation (in radians) when leaving this point
Returns the map rotation (in radians) when approaching this point
Returns the distance and estimated time to the next instruction point. If unavailable, returns a default of 0 distance and 0 time.
Returns the transition zone if this point transitions between levels.
Indicates whether this instruction is on an accessible route.
Determines whether the instruction involves entering or exiting a building, or continuing through a transition that results in a building change.
Represents an unstyled icon (no background color).
Determines whether the instruction involves a transition between floors, such as using stairs, an elevator, or escalator.