Mapbox spec: terrain
import { Terrain } from '@rnmapbox/maps';
Terrain
string
Name of a source of raster_dem type to be used for terrain elevation.
Value
Deprecated, use exaggeration in style instead
TerrainLayerStyleProps
Customizable style attributes
Name: source
Mapbox spec: source
Name of a source of raster_dem
type to be used for terrain elevation.
string
Name: exaggeration
Mapbox spec: exaggeration
Exaggerates the elevation of the terrain by multiplying the data from the DEM with this value.
number
1
0
1000
source
Parameters: zoom
Name: exaggerationTransition
The transition affecting any changes to this layer’s exaggeration property.
{ duration, delay }
milliseconds
{duration: 300, delay: 0}