GoogleMaps Framework Reference

GMSIndoorBuilding

@interface GMSIndoorBuilding : NSObject

Describes a building which contains levels.

  • Array of GMSIndoorLevel describing the levels which make up the building. The levels are in ‘display order’ from top to bottom.

    Declaration

    Swift

    var levels: [GMSIndoorLevel] { get }

    Objective-C

    @property (nonatomic, strong, readonly) NSArray<GMSIndoorLevel *> *_Nonnull levels;
  • Index in the levels array of the default level.

    Declaration

    Swift

    var defaultLevelIndex: UInt { get }

    Objective-C

    @property (nonatomic, readonly) NSUInteger defaultLevelIndex;
  • If YES, the building is entirely underground and supports being hidden.

    Declaration

    Swift

    var isUnderground: Bool { get }

    Objective-C

    @property (nonatomic, readonly, getter=isUnderground) BOOL underground;
  • Unavailable

    Declaration

    Objective-C

    - (instancetype)init NS_UNAVAILABLE;