LaneGuidance
public struct LaneGuidance
Contains information about lane guidance.
Lanes are stored in order from curb side to middle side. That is, in left-hand driving locales such as Japan, the lanes are ordered from left to right, while in right-hand driving locales such as the USA, the lanes are ordered from right to left.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Initializes a lane guidance with the specified parameters.
Declaration
Swift
public init( uuid: UUID, lanes: [Lane], laneSeparators: [LaneSeparator], routeOffset: Measurement<UnitLength>, length: Measurement<UnitLength> )
Parameters
uuid
The ID of the lane.
lanes
Lane information.
laneSeparators
Lane separators.
routeOffsetInMeters
The distance from the start of the route to the start of the lanes in meters.
lengthInMeters
Length of the lane section in meters.