DirectedOCMSegmentId
public struct DirectedOCMSegmentId : Hashable
OCM Segment ID with travel direction of segment.
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.
-
Segment ID in OCM map
Declaration
Swift
public var id: OCMSegmentId -
Travel direction of the segment.
Declaration
Swift
public var travelDirection: TravelDirection -
Creates a new instance.
Declaration
Swift
public init(id: OCMSegmentId, travelDirection: TravelDirection = TravelDirection.bidirectional)