Terrain

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

See also

Constructors

Link copied to clipboard
fun Terrain(sourceId: String)

Types

Link copied to clipboard
object Companion

Static variables and methods.

Functions

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

Bind terrain to the map controller.

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. Default value: 1. Value range: 0, 1000

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

Set the Exaggeration property transition options.

Properties

Link copied to clipboard

Exaggerates the elevation of the terrain by multiplying the data from the DEM with this value. Default value: 1. Value range: 0, 1000

Link copied to clipboard

Exaggerates the elevation of the terrain by multiplying the data from the DEM with this value. Default value: 1. Value range: 0, 1000

Link copied to clipboard

Exaggeration property transition options.