Builder

class Builder

Builder class for creating IntersectionLanes instances.

Parameters

valid

Provides a boolean value you can use to determine if the given lane is valid for the user to complete the maneuver.

active

Indicates whether this lane is a preferred lane (true) or not (false).

validIndication

When either valid or active is set to true, this property shows which of the lane indications is applicable to the current route.

indications

Array that can be made up of multiple signs such as left, right, etc.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard

Builds an IntersectionLanes instance with the current builder values.

Link copied to clipboard

Sets the active status.

Link copied to clipboard

Sets the indications.

Link copied to clipboard

Sets the valid status.

Link copied to clipboard

Sets the valid indication.