FUIAnnotation

public protocol FUIAnnotation : MKAnnotation

A protocol extending MKAnnotation for storing index and state info that will be used by FUIMapFloorplanViewController. The properties of this protocol are managed by FUIMapFloorplanViewController. Developer is not supposed to set these properties.

  • The state of the annotation.

    Declaration

    Swift

    var state: FUIMapFloorplan.State { get set }
  • The layer to which the annotation is added. This property is managed by map floorplan controller. After you initialize this property, you should not set it directly.

    Declaration

    Swift

    var layer: FUIGeometryLayer { get set }
  • The index path of a FUIAnnotation instance. This property is managed by map floorplan controller. After you initialize this property, you should not set it directly.

    It represents:

    1. index(indexPath.index) of a map annotation or overlay for fiori map floorplan.
    2. stop index(indexPath.index) and route index(indexPath.routeIndex) of a route stop.
    3. route index of a route segment.

    Declaration

    Swift

    var indexPath: IndexPath { get set }