Terrain

class Terrain(sourceId: String) : TerrainDslReceiver, StyleContract.StyleTerrainExtension

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

See also

Constructors

Terrain
Link copied to clipboard
fun Terrain(sourceId: String)

Types

Companion
Link copied to clipboard
object Companion

Static variables and methods.

Functions

bindTo
Link copied to clipboard
open override fun bindTo(delegate: StyleInterface)

Bind terrain to the map controller.

exaggeration
Link copied to clipboard
open override fun exaggeration(exaggeration: Expression): Terrain
open override fun exaggeration(exaggeration: Double): Terrain

Exaggerates the elevation of the terrain by multiplying the data from the DEM with this value.

exaggerationTransition
Link copied to clipboard
open override fun exaggerationTransition(options: StyleTransition): Terrain

Set the Exaggeration property transition options.

open override fun exaggerationTransition(block: StyleTransition.Builder.() -> Unit): Terrain

Properties

exaggeration
Link copied to clipboard
val exaggeration: Double?

Exaggerates the elevation of the terrain by multiplying the data from the DEM with this value.

exaggerationAsExpression
Link copied to clipboard
val exaggerationAsExpression: Expression?

Exaggerates the elevation of the terrain by multiplying the data from the DEM with this value.

exaggerationTransition
Link copied to clipboard
val exaggerationTransition: StyleTransition?

Exaggeration property transition options.