getBuildingWithId

open fun getBuildingWithId(buildingId: String): MapBuilding

Checks to see if a building exists for a given id and returns it if so

Return

Returns the building or null if it doesn’t exist

Parameters

buildingId

The id (key) for the building