TerrainBuildingSource

class TerrainBuildingSource(val attribution: String, val available: suspend () -> Boolean, val footprints: suspend (GeoBounds) -> List<BuildingFootprint>)(source)

Where the terrain map gets its buildings.

Parameters

attribution

plain text, shown while buildings are up

available

whether there are any to offer, asked each time the map opens

footprints

the buildings in a box, empty when the box is too wide for any to show

Constructors

Link copied to clipboard
constructor(attribution: String, available: suspend () -> Boolean, footprints: suspend (GeoBounds) -> List<BuildingFootprint>)

Properties

Link copied to clipboard
Link copied to clipboard
val available: suspend () -> Boolean
Link copied to clipboard