SITFloor

Objective-C

@interface SITFloor : SITBuildingResource

Swift

class SITFloor : SITBuildingResource

Floor of a building.

Properties

  • Deprecated

    Deprecated, use floor instead

    Numeric value representing the ground level. This value can be negative to designate floors below the ground floor @deprecated Use floor property instead {@link #floor}

    Declaration

    Objective-C

    @property (nonatomic) NSInteger level;

    Swift

    var level: Int { get set }
  • String containing the name of the floor.

    Declaration

    Objective-C

    @property (nonatomic) NSString *_Nonnull name;

    Swift

    var name: String { get set }
  • Numeric value representating the ground level. This value can be negative to designate floors below the ground floor

    Declaration

    Objective-C

    @property (nonatomic) NSInteger floor;

    Swift

    var floor: Int { get set }
  • Scale of the floor image in px/meters

    Declaration

    Objective-C

    @property (nonatomic) double scale;

    Swift

    var scale: Double { get set }
  • Vertical altitude of the floor inside the building (in meters)

    Declaration

    Objective-C

    @property (nonatomic) double altitude;

    Swift

    var altitude: Double { get set }

Methods

  • URL where the floorplan can be downloaded

    See

    Use -fetchMapFromFloor:withCompletion: instead of retrieving the image directly, as this will store the image on cache, so it’s available to you later on.

    Declaration

    Objective-C

    @property (nonatomic) SITURL *_Nonnull mapURL;

    Swift

    var mapURL: SITURL { get set }