Terrain

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

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

See also

<a href="https://www.mapbox.com/mapbox-gl-style-spec/#terrain">The online documentation</a>

Constructors

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

Types

Companion
Link copied to clipboard

Static variables and methods.

object Companion

Functions

bindTo
Link copied to clipboard

Bind terrain to the map controller.

open override fun bindTo(delegate: StyleManagerInterface)
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
exaggeration
Link copied to clipboard

Set the Exaggeration property

open override fun exaggeration(exaggeration: Expression): Terrain

Set the Exaggeration property.

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

open override fun exaggeration(exaggeration: Double): Terrain
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

exaggeration
Link copied to clipboard

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

val exaggeration: Double?
exaggerationAsExpression
Link copied to clipboard

This is an Expression representation of "exaggeration".

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

val exaggerationAsExpression: Expression?