Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 829 Bytes

Terrain.md

File metadata and controls

22 lines (13 loc) · 829 Bytes

<MapboxGL.Terrain />

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

props

Prop Type Default Required Description
sourceID string MapboxGL.StyleSource.DefaultSourceID false Name of a source of raster_dem type to be used for terrain elevation.
exaggeration union none false Optional number between 0 and 1000 inclusive. Defaults to 1. Supports interpolateexpressions. Transitionable.
Exaggerates the elevation of the terrain by multiplying the data from the DEM with this value.

methods

baseProps()

arguments
Name Type Required Description