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
uuidThe ID of the lane.
lanesLane information.
laneSeparatorsLane separators.
routeOffsetInMetersThe distance from the start of the route to the start of the lanes in meters.
lengthInMetersLength of the lane section in meters.
LaneGuidance Structure Reference