GoogleMaps 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."],[[["\u003cp\u003e\u003ccode\u003eGMSIndoorLevel\u003c/code\u003e objects represent a single level within a building, and multiple buildings can share the same level instance.\u003c/p\u003e\n"],["\u003cp\u003eEach level has a localized \u003ccode\u003ename\u003c/code\u003e property for display, such as "Ground floor".\u003c/p\u003e\n"],["\u003cp\u003eLevels also have a localized \u003ccode\u003eshortName\u003c/code\u003e property for concise display, like "1".\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003einit\u003c/code\u003e method is unavailable; you should obtain level instances from other Google Maps SDK for iOS objects.\u003c/p\u003e\n"]]],[],null,["# GoogleMaps Framework Reference\n\nGMSIndoorLevel\n==============\n\n @interface GMSIndoorLevel : NSObject\n\n - (instancetype)init NS_UNAVAILABLE;\n\n /** Localized display name for the level, e.g. \"Ground floor\". */\n @property(nonatomic, copy, readonly, nullable) NSString *name;\n\n /** Localized short display name for the level, e.g. \"1\". */\n @property(nonatomic, copy, readonly, nullable) NSString *shortName;\n\n @end\n\n- `\n ``\n ``\n `\n\n ### [-init](#/c:objc(cs)GMSIndoorLevel(im)init)\n\n `\n ` \n Unavailable \n\n #### Declaration\n\n Objective-C \n\n - (instancetype)init NS_UNAVAILABLE;\n\n- `\n ``\n ``\n `\n\n ### [name](#/c:objc(cs)GMSIndoorLevel(py)name)\n\n `\n ` \n Localized display name for the level, e.g. \"Ground floor\". \n\n #### Declaration\n\n Swift \n\n var name: String? { get }\n\n Objective-C \n\n @property (nonatomic, copy, readonly, nullable) NSString *name;\n\n- `\n ``\n ``\n `\n\n ### [shortName](#/c:objc(cs)GMSIndoorLevel(py)shortName)\n\n `\n ` \n Localized short display name for the level, e.g. \"1\". \n\n #### Declaration\n\n Swift \n\n var shortName: String? { get }\n\n Objective-C \n\n @property (nonatomic, copy, readonly, nullable) NSString *shortName;"]]