GMSIndoorDisplay Class Reference

GMSIndoorDisplay Class Reference

Overview

Provides ability to observe or control the display of indoor level data.

Like GMSMapView, GMSIndoorDisplay may only be used from the main thread.

Properties

id< GMSIndoorDisplayDelegatedelegate
 GMSIndoorDisplay delegate.
GMSIndoorBuildingactiveBuilding
 Provides the currently focused building, will be nil if there is no building with indoor data currently under focus.
GMSIndoorLevelactiveLevel
 Provides and controls the active level for activeBuilding.

Property Documentation

- (id<GMSIndoorDisplayDelegate>) delegate [read, write, assign]

GMSIndoorDisplay delegate.

- (GMSIndoorBuilding*) activeBuilding [read, assign]

Provides the currently focused building, will be nil if there is no building with indoor data currently under focus.

- (GMSIndoorLevel*) activeLevel [read, write, assign]

Provides and controls the active level for activeBuilding.

Will be updated whenever activeBuilding changes, and may be set to any member of activeBuilding's levels property. May also be set to nil if the building is underground, to stop showing the building (the building will remain active).

Will always be nil if activeBuilding is nil.

Any attempt to set it to an invalid value will be ignored.