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
GMSIndoorDisplayDelegate
@protocol GMSIndoorDisplayDelegate <NSObject>
Delegate for events on GMSIndoorDisplay
.
-
Raised when the activeBuilding has changed. The activeLevel will also have already been updated
for the new building, but -didChangeActiveLevel:
will be raised after this method.
-
Raised when the activeLevel has changed. This event is raised for all changes, including
explicit setting of the property.
Declaration
Objective-C
- (void)didChangeActiveLevel:(nullable GMSIndoorLevel *)level;
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."],[[["The `GMSIndoorDisplayDelegate` protocol handles events related to indoor maps displayed on a Google Map."],["It provides optional methods to notify when the active building changes, triggering `didChangeActiveBuilding`."],["`didChangeActiveLevel` is raised whenever the active level of the indoor map is changed, including explicit changes."]]],["The `GMSIndoorDisplayDelegate` protocol handles events related to indoor building displays. It includes two key actions: `didChangeActiveBuilding:` which is triggered when the active building changes, and it also updates the active level, although the `didChangeActiveLevel:` event will come afterward. `didChangeActiveLevel:` is raised whenever the active level changes, whether explicitly set or not. Both actions provide information about the new building or level.\n"]]