Builder

class Builder(location: Point, bearingBefore: Double, bearingAfter: Double)

Builder class for creating StepManeuver instances.

Parameters

location

A Point representing this intersection location.

bearingBefore

Number between 0 and 360 indicating the clockwise angle from true north to the direction of travel right before the maneuver.

bearingAfter

Number between 0 and 360 indicating the clockwise angle from true north to the direction of travel right after the maneuver.

Constructors

Link copied to clipboard
constructor(location: Point, bearingBefore: Double, bearingAfter: Double)

Functions

Link copied to clipboard

Builds a StepManeuver instance with the current builder values.

Link copied to clipboard

Sets the exit.

Link copied to clipboard

Sets the instruction.

Link copied to clipboard

Sets the modifier.

Link copied to clipboard