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

Types

Terrain
Link copied to clipboard

A global modifier that elevates layers and markers based on a DEM data source.

class Terrain(sourceId: String) : TerrainDslReceiver, StyleContract.StyleTerrainExtension
TerrainDslReceiver
Link copied to clipboard

This Interface contains all the functions that will be exposed to Koltin DSL.

Separated the DSL receiver class to this interface to avoid IDE code suggestion for property getters.

interface TerrainDslReceiver

Functions

getTerrain
Link copied to clipboard

Extension function to get the terrain provided by the Style Extension.

fun StyleInterface.getTerrain(sourceId: String): Terrain
setTerrain
Link copied to clipboard

Extension function to set the Terrain provided by the Style Extension to the Style.

fun StyleInterface.setTerrain(terrain: StyleContract.StyleTerrainExtension)
terrain
Link copied to clipboard

DSL function for Terrain.

fun terrain(sourceId: String, block: TerrainDslReceiver.() -> Unit?): Terrain