MTHillshadeLayer
A hillshade style layer renders digital elevation model (DEM) data on the client-side.
Supports Terrain RGB and Mapzen Terrarium encodings via a raster-dem source.
Constructors
constructor(identifier: String, sourceIdentifier: String, maxZoom: Double, minZoom: Double, sourceLayer: String)
constructor(identifier: String, type: MTLayerType, sourceIdentifier: String, maxZoom: Double?, minZoom: Double?, sourceLayer: String?, accentColor: Int?, exaggeration: Double?, highlightColor: Int?, illuminationAnchor: MTHillshadeIlluminationAnchor?, illuminationDirection: Double?, shadowColor: Int?, visibility: MTLayerVisibility)
Properties
The shading color used to accentuate rugged terrain like sharp cliffs and gorges.
Intensity of the hillshade in 0, 1.
The shading color of areas that face towards the light source.
Unique layer identifier.
Direction frame for illumination when map is rotated.
The direction of the light source (0..359).
The shading color of areas that face away from the light source.
Identifier of the source to be used for this layer.
Vector tile source layer name (not used for raster-dem).
Type of the layer.
Controls whether this layer is displayed.