Package com.mapbox.maps.extension.style.terrain.generated

Types

Terrain
Link copied to clipboard
class Terrain(sourceId: String) : TerrainDslReceiver, StyleContract.StyleTerrainExtension
A global modifier that elevates layers and markers based on a DEM data source.
TerrainDslReceiver
Link copied to clipboard
interface TerrainDslReceiver
This Interface contains all the functions that will be exposed to Koltin DSL.

Functions

getTerrain
Link copied to clipboard
fun StyleInterface.getTerrain(sourceId: String): Terrain
Extension function to get the terrain provided by the Style Extension.
setTerrain
Link copied to clipboard
fun StyleInterface.setTerrain(terrain: StyleContract.StyleTerrainExtension)
Extension function to set the Terrain provided by the Style Extension to the Style.
terrain
Link copied to clipboard
fun terrain(sourceId: String, block: TerrainDslReceiver.() -> Unit? = null): Terrain
DSL function for Terrain.