Hillshade Layer
Client-side hillshading visualization based on DEM data. The implementation supports Mapbox Terrain RGB, Mapzen Terrarium tiles and custom encodings.
Parameters
Unique layer name.
Vector data source for this layer.
The minimum zoom level for the layer. At zoom levels less than this, the layer will be hidden. A value in the range of [0..24].
The maximum zoom level for the layer. At zoom levels equal to or greater than this, the layer will be hidden. A value in the range of [0..24].
Whether the layer should be displayed.
The shading color of areas that face away from the light source.
The shading color of areas that faces towards the light source.
The shading color used to accentuate rugged terrain like sharp cliffs and gorges.
The direction of the light source used to generate the hillshading in degrees. A value in the range of [0..360). 0 means the top of the viewport or north, depending on the value of illuminationAnchor.
Direction of light source when map is rotated. See illuminationDirection.
Intensity of the hillshade. A value in the range of [0..1].