ElectronicHorizonPathSegmentId
public struct ElectronicHorizonPathSegmentId : Hashable
Identifier of an element of the path inside the ElectronicHorizonPath.
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.
-
Directed OCM segment id. It can be null if a route was build on a different version of the map and route spans don’t match to any OCM segments. In this case, only
segment_referencewill be provided.Declaration
Swift
public var ocmSegmentId: DirectedOCMSegmentId? -
Segment reference, is provided when a segment matches to a route spans. In other cases, it is null.
Declaration
Swift
public var segmentReference: SegmentReference? -
Creates a new instance.
Declaration
Swift
public init(ocmSegmentId: DirectedOCMSegmentId? = nil, segmentReference: SegmentReference? = nil)