Hillshade Layer
Client-side hillshading visualization based on DEM data. Currently, the implementation only supports Mapbox Terrain RGB and Mapzen Terrarium tiles.
See also
Parameters
the ID of the layer
the ID of the source
Constructors
Types
Functions
Bind the layer to the Style.
Bind the layer to the map controller.
The shading color used to accentuate rugged terrain like sharp cliffs and gorges.
Set the HillshadeAccentColor property transition options
DSL for hillshadeAccentColorTransition.
Intensity of the hillshade
Set the HillshadeExaggeration property transition options
DSL for hillshadeExaggerationTransition.
The shading color of areas that faces towards the light source.
Set the HillshadeHighlightColor property transition options
DSL for hillshadeHighlightColorTransition.
Direction of light source when map is rotated.
The direction of the light source used to generate the hillshading with 0 as the top of the viewport if hillshade-illumination-anchor
is set to viewport
and due north if hillshade-illumination-anchor
is set to map
.
The shading color of areas that face away from the light source.
Set the HillshadeShadowColor property transition options
DSL for hillshadeShadowColorTransition.
The maximum zoom level for the layer. At zoom levels equal to or greater than the maxzoom, the layer will be hidden.
The minimum zoom level for the layer. At zoom levels less than the minzoom, the layer will be hidden.
A source layer is an individual layer of data within a vector source. A vector source can have multiple source layers.
Whether this layer is displayed.