Instruction

class Instruction(val routeOffset: Distance = Distance.ZERO, val length: Distance = DEFAULT_MANEUVER_LENGTH, val combineWithNext: Boolean = false)

Represents an instruction arrow on a route.

Constructors

Link copied to clipboard
constructor(routeOffset: Distance = Distance.ZERO, length: Distance = DEFAULT_MANEUVER_LENGTH, combineWithNext: Boolean = false)

Properties

Link copied to clipboard

Indicates whether the instruction will be combined with the next item along the route, which can be another instruction, a waypoint or the destination.

Link copied to clipboard

The length of the instruction.

Link copied to clipboard

The distance from the start of the route to the point of the instruction.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String