LayerRetriever

interface LayerRetriever

Functions

Link copied to clipboard
open fun ensureBuildingExists(buildingId: Int)

Materialize a deferred building's BuildingLayers on-demand. Called when a building enters the viewport but has not yet been set up.

Link copied to clipboard

Returns the total number of buildings for this property, including both materialized and deferred buildings. Used by the visibility handler to decide whether the property is a single-building property.

Link copied to clipboard