Skip to content
Select language:English

MDK 3.7.3

fun loadBuilding(buildingId: String): Building?

Loads a building from the local file system.

This method attempts to load a building's map data from the local file system. It checks for the existence of the map file and any associated auxiliary files.

Return

The loaded Building object, or null if the building data is not found locally.

Parameters

buildingId

The ID of the building to load.

Throws

MdkException.NotInitialized

If the GiPStech library is not initialized.

If another operation is in progress.