IndexPath

struct IndexPath : ReferenceConvertible, Equatable, Hashable, MutableCollection, RandomAccessCollection, Comparable, ExpressibleByArrayLiteral
  • Initialize an index path with index and route index. Developer should not call this initializer because index and route index are managed by map floorplan controller.

    Declaration

    Swift

    public init(index: Int, routeIndex: Int)
  • The index of a map annotation or a stop annotation.

    Declaration

    Swift

    public var index: Int { get set }
  • The index of route in which a route stop or a route segment belongs to. This index is meaningless for a map annotation.

    Declaration

    Swift

    public var routeIndex: Int { get set }