LaneDirectionCategory
public struct LaneDirectionCategory : Hashable
Indicates the directions of a lane. Most lanes lead only to one direction,
but there can be also lanes that split up into multiple directions.
A road can consist of multiple lanes towards the same direction.
Note: All members can be true or false at the same time. Lanes such as bicycle
lanes mostly never contain a direction category and thus, all members are false.
-
A lane that goes straight up.
Declaration
Swift
public var straight: Bool -
A lane that goes slightly left.
Declaration
Swift
public var slightlyLeft: Bool -
A lane that goes quite left.
Declaration
Swift
public var quiteLeft: Bool -
A lane that goes hard left.
Declaration
Swift
public var hardLeft: Bool -
A lane that makes a left u-turn.
Declaration
Swift
public var uTurnLeft: Bool -
A lane that goes slightly right.
Declaration
Swift
public var slightlyRight: Bool -
A lane that goes quite right.
Declaration
Swift
public var quiteRight: Bool -
A lane that goes hard right.
Declaration
Swift
public var hardRight: Bool -
A lane that makes a right u-turn.
Declaration
Swift
public var uTurnRight: Bool -
init(straight:slightlyLeft: quiteLeft: hardLeft: uTurnLeft: slightlyRight: quiteRight: hardRight: uTurnRight: ) Creates a new instance.
Declaration
Swift
public init(straight: Bool = false, slightlyLeft: Bool = false, quiteLeft: Bool = false, hardLeft: Bool = false, uTurnLeft: Bool = false, slightlyRight: Bool = false, quiteRight: Bool = false, hardRight: Bool = false, uTurnRight: Bool = false)