New basemap styling is coming soon to Google Maps Platform. This update to map styling includes a new default color palette, modernized pins, and improvements to map experiences and usability. All map styles will be automatically updated in March 2025. For more information on availability and how to opt in earlier, see
New map style for Google Maps Platform.
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
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;
-
Declaration
Objective-C
- (instancetype)init NS_UNAVAILABLE;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-15 UTC.
[null,null,["Last updated 2024-11-15 UTC."],[[["`GMSIndoorBuilding` objects represent buildings with multiple levels, organized in a specific display order."],["The `levels` property provides access to an array of `GMSIndoorLevel` objects, representing the building's floors."],["`defaultLevelIndex` indicates the index of the default level within the `levels` array."],["The `underground` property, if true, signifies the building is entirely underground and can be hidden."],["Direct initialization of `GMSIndoorBuilding` is unavailable; it's likely obtained from other Google Maps SDK objects or methods."]]],[]]