Skip to content

Latest commit

 

History

History
110 lines (59 loc) · 1.17 KB

Terrain.md

File metadata and controls

110 lines (59 loc) · 1.17 KB
import { Terrain } from '@rnmapbox/maps';

Terrain

props

sourceID

string

Name of a source of raster_dem type to be used for terrain elevation.

exaggeration

Value

Deprecated, use exaggeration in style instead

style

TerrainLayerStyleProps

Customizable style attributes

styles


source

Name: source

Description

Name of a source of raster_dem type to be used for terrain elevation.

Type

string


exaggeration

Name: exaggeration

Description

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

Type

number

Default Value

1

Minimum

0

Maximum

1000

Requires

source

Expression

Parameters: zoom


Name

exaggerationTransition

Description

The transition affecting any changes to this layer’s exaggeration property.

Type

{ duration, delay }

Units

milliseconds

Default Value

{duration: 300, delay: 0}