SITMapViewConfiguration

Objective-C

@interface SITMapViewConfiguration : NSObject

Swift

class SITMapViewConfiguration : NSObject

Data class that stores values to configure a SITMapView instace.

  • Getter Building identifier: returns the value of the buildingIdentifier for this instance of the configuration .

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSString *_Nonnull buildingIdentifier;

    Swift

    var buildingIdentifier: String { get }
  • Getter Floor identifier: returns the value of the floorIdentifier for this instance of the configuration.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSString *_Nonnull floorIdentifier;

    Swift

    var floorIdentifier: String { get }
  • Getter for the remote identifier: return the value of the remoteIdentifier for this instance of the configuration.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSString *_Nonnull remoteIdentifier;

    Swift

    var remoteIdentifier: String { get }
  • Init method to create an instance of this class. Parameters are buildingIdentifier and floorIdentifier of the building and level which will be loaded into a SITMapview instance.

    Declaration

    Objective-C

    - (nonnull instancetype)
        initWithBuildingIdentifier:(nonnull NSString *)buildingIdentifier
                   floorIdentifier:(nonnull NSString *)floorIdentifier;

    Swift

    init(buildingIdentifier: String, floorIdentifier: String)

    Parameters

    buildingIdentifier

    : String that contains the value of the identifier of the building to load.

    floorIdentifier

    : String that contains the value of the identifier of the floor / level to load.

  • Init method to create an instance of this class.

    Declaration

    Objective-C

    - (nonnull instancetype)
        initWithBuildingIdentifier:(nonnull NSString *)buildingIdentifier
                  remoteIdentifier:(nonnull NSString *)remoteIdentifier;

    Swift

    init(buildingIdentifier: String, remoteIdentifier: String)

    Parameters

    buildingIdentifier

    String that contains the value of the identifier of the building to load.

    remoteIdentifier

    : String that defines map settings. @note: For now, you need to contact Situm to obtain your remoteIdentifier. @note: Either buildingIdentifier or remoteIdentifier must be non nil. Both parameters can be set. In that case the map viewer will load all the parameters from the map configuration but the building to load which will be overriden by the buildingIdentifier parameter.