LaneAttribute
public struct LaneAttribute : Hashable
A struct that describes attributes assigned to a specific section of a lane. It includes lane markings, allowed travel directions, tolling info, access restrictions, and optional lane type.
Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.
-
The start offset of the lane in meters from the beginning of the segment
Declaration
Swift
public var startOffsetInMeters: Int32 -
Indicate the markings on the road
Declaration
Swift
public var markings: LaneMarkings -
Access characteristics of the lane that identifies the vehicle type(s) allowed to access a lane.
Declaration
Swift
public var access: LaneAccess -
List of Toll Structure that identifies the presence of physical toll structures or automatic controls on the lane at entry and exit points along a toll road which requires payment (cash, electronic, etc.) or ticket
Declaration
Swift
public var tollStructures: [TollStructure] -
Specifies the functional and regulatory roles a lane may serve, such as turn, express, HOV, or bike use
Declaration
Swift
public var type: LaneType? -
Creates a new instance.
Declaration
Swift
public init(startOffsetInMeters: Int32, markings: LaneMarkings, access: LaneAccess, tollStructures: [TollStructure], type: LaneType? = nil)