Prop | Type | Default | Required | Description |
---|---|---|---|---|
sourceID | string |
none |
true |
Name of a source of raster_dem type to be used for terrain elevation. |
exaggeration | Value |
none |
false |
Deprecated, use exaggeration in style instead |
style | TerrainLayerStyleProps |
none |
true |
Customizable style attributes |
Name: source
Name of a source of raster_dem
type to be used for terrain elevation.
string
Name: exaggeration
Exaggerates the elevation of the terrain by multiplying the data from the DEM with this value.
number
1
0
1000
source
Parameters: zoom
exaggerationTransition
The transition affecting any changes to this layer’s exaggeration property.
{ duration, delay }
milliseconds
{duration: 300, delay: 0}