Skip to content

Terrain

The terrain configuration.

terrain: {"source": "raster-dem-source", "exaggeration": 0.5}

source

Required string.

The source for the terrain data.

SDK Support MapLibre GL JS MapLibre Native
Android
MapLibre Native
iOS
basic functionality 2.2.0 Not supported yet Not supported yet

exaggeration

Optional number in range [0, ∞). Defaults to 1.

The exaggeration of the terrain - how high it will look.

SDK Support MapLibre GL JS MapLibre Native
Android
MapLibre Native
iOS
basic functionality 2.2.0 Not supported yet Not supported yet