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

addTerrain
Link copied to clipboard

Extension function to add a Terrain provided by the Style Plugin to the Style.

fun StyleManagerInterface.addTerrain(terrain: StyleContract.StyleTerrainExtension)
getTerrain
Link copied to clipboard

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

fun StyleManagerInterface.getTerrain(sourceId: String): Terrain
terrain
Link copied to clipboard

DSL function for Terrain.

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