GMSIndoorDisplay 類別參考資料

GMSIndoorDisplay 類別參考資料

總覽

可讓使用者觀察或控制室內層級資料的顯示方式。

就像GMSMapViewGMSIndoorDisplay 只能在主執行緒上使用。

資源

id<GMSIndoorDisplayDelegate >委派
 GMSIndoorDisplay代表。
GMSIndoorBuildingactiveBuilding
 提供目前聚焦的建築物。如果沒有任何建築物含有目前焦點在移動的室內資料,則該建築物會無異動。
GMSIndoorLevelactiveLevel
 提供和控制活躍建築物的顯示樓層。

屬性說明文件

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

GMSIndoorDisplay代表。

- (GMSIndoorBuilding*) activeBuilding [read, assign]

提供目前聚焦的建築物。如果沒有任何建築物含有目前焦點在移動的室內資料,則該建築物會無異動。

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

提供和控制活躍建築物的顯示樓層。

每當啟用的建築物變更時,都會更新,且可以設定為有效建築物樓層屬性的任何成員。如果建築物位於地下,也可以設為 nil,以停止顯示該建築物 (建築物仍然運作中)。

如果活動中的建築物為 nil,一律為 nil。

如果您嘗試將其設為無效值,系統會一律忽略。