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
GMSIndoorLevel
@interface GMSIndoorLevel : NSObject
Describes a single level in a building.
Multiple buildings can share a level - in this case the level instances will compare as equal,
even though the level numbers/names may be different.
-
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 2024-11-15 UTC.
[null,null,["Last updated 2024-11-15 UTC."],[[["`GMSIndoorLevel` objects represent a single level within a building, and multiple buildings can share the same level instance."],["Each level has a localized `name` property for display, such as \"Ground floor\"."],["Levels also have a localized `shortName` property for concise display, like \"1\"."],["The `init` method is unavailable; you should obtain level instances from other Google Maps SDK for iOS objects."]]],[]]