Instruction
class Instruction(val routeOffset: Distance = Distance.ZERO, val length: Distance = Distance.meters(DEFAULT_MANEUVER_LENGTH), val combineWithNext: Boolean = false)
Represents an instruction arrow on a route.
Parameters
routeOffset
The distance from the start of the route to the point of the instruction.
length
The length of the instruction.
combineWithNext
Indicates whether the instruction will be combined with the next item along the route, which can be another instruction, a waypoint or the destination.
Constructors
Link copied to clipboard
fun Instruction(routeOffset: Distance = Distance.ZERO, length: Distance = Distance.meters(DEFAULT_MANEUVER_LENGTH), combineWithNext: Boolean = false)