getBuildingLayers

abstract fun getBuildingLayers(buildingId: Int): BuildingLayers

Call this function to get building layers corresponding to the building id.

If you want to get selected building's building layer. Use getSelectedBuildingLayers instead.

Return

A building layer contains a list of floor layers which contains a list of map layers. Each layer contains a list of element that's added to the map. If the building layer has not initiated yet, it will return null.

Parameters

buildingId

Building id corresponding to the building layer you get.