OCMSegmentId

public struct OCMSegmentId : Hashable

OCM Segment ID of particular matched SegmentReference from OCM map, represented in form: Tile + Local ID’s .

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.

  • Here tile partition id (Morton-encoding + level indicator) of the segment.

    Declaration

    Swift

    public var tilePartitionId: Int32
  • Local ID of the segment inside the OCM tile.

    Declaration

    Swift

    public var localId: Int32
  • Creates a new instance.

    Declaration

    Swift

    public init(tilePartitionId: Int32 = 0, localId: Int32 = 0)