Join us for our next
Google Maps Platform Developer Community Day in San Francisco in December!
Apply now to attend.
GoogleNavigation Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
GMSIndoorLevel
@interface GMSIndoorLevel : NSObject
- (instancetype)init NS_UNAVAILABLE;
/** Localized display name for the level, e.g. "Ground floor". */
@property(nonatomic, copy, readonly, nullable) NSString *name;
/** Localized short display name for the level, e.g. "1". */
@property(nonatomic, copy, readonly, nullable) NSString *shortName;
@end
-
Declaration
Objective-C
- (instancetype)init NS_UNAVAILABLE;
-
Localized display name for the level, e.g. “Ground floor”.
Declaration
Swift
var name: String? { get }
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *name;
-
Localized short display name for the level, e.g. “1”.
Declaration
Swift
var shortName: String? { get }
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *shortName;
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 2025-08-27 UTC.
[null,null,["Last updated 2025-08-27 UTC."],[],["GMSIndoorLevel describes a building's level, allowing multiple buildings to share one. It includes two main properties: `name`, a localized display name (e.g., \"Ground floor\"), and `shortName`, a localized short display name (e.g., \"1\"). The `init` method is unavailable. Level instances can compare as equal despite differing names or numbers when shared between buildings. The information provided can be accessed via Swift and Objective-C.\n"]]