Hillshade Layer
@UiThread()
Content copied to clipboard
Client-side hillshading visualization based on DEM data. Currently, the implementation only supports Mapbox Terrain RGB and Mapzen Terrarium tiles.
See also
Parameters
layerId
the ID of the layer
sourceId
the ID of the source
Constructors
HillshadeLayer
Link copied to clipboard
the ID of the layer
Types
Functions
bindTo
Link copied to clipboard
open override fun bindTo(delegate: StyleInterface, position: LayerPosition?)
Content copied to clipboard
hillshadeAccentColor
Link copied to clipboard
open override fun hillshadeAccentColor(hillshadeAccentColor: Expression): HillshadeLayer
Content copied to clipboard
open override fun hillshadeAccentColor(@ColorInt() hillshadeAccentColor: Int): HillshadeLayer
Content copied to clipboard
open override fun hillshadeAccentColor(hillshadeAccentColor: String): HillshadeLayer
Content copied to clipboard
hillshadeAccentColorTransition
Link copied to clipboard
open override fun hillshadeAccentColorTransition(options: StyleTransition): HillshadeLayer
Content copied to clipboard
open override fun hillshadeAccentColorTransition(block: StyleTransition.Builder.() -> Unit): HillshadeLayer
Content copied to clipboard
DSL for hillshadeAccentColorTransition.
hillshadeExaggeration
Link copied to clipboard
open override fun hillshadeExaggeration(hillshadeExaggeration: Expression): HillshadeLayer
Content copied to clipboard
open override fun hillshadeExaggeration(hillshadeExaggeration: Double): HillshadeLayer
Content copied to clipboard
hillshadeExaggerationTransition
Link copied to clipboard
open override fun hillshadeExaggerationTransition(options: StyleTransition): HillshadeLayer
Content copied to clipboard
open override fun hillshadeExaggerationTransition(block: StyleTransition.Builder.() -> Unit): HillshadeLayer
Content copied to clipboard
DSL for hillshadeExaggerationTransition.
hillshadeHighlightColor
Link copied to clipboard
open override fun hillshadeHighlightColor(hillshadeHighlightColor: Expression): HillshadeLayer
Content copied to clipboard
open override fun hillshadeHighlightColor(@ColorInt() hillshadeHighlightColor: Int): HillshadeLayer
Content copied to clipboard
open override fun hillshadeHighlightColor(hillshadeHighlightColor: String): HillshadeLayer
Content copied to clipboard
hillshadeHighlightColorTransition
Link copied to clipboard
open override fun hillshadeHighlightColorTransition(options: StyleTransition): HillshadeLayer
Content copied to clipboard
open override fun hillshadeHighlightColorTransition(block: StyleTransition.Builder.() -> Unit): HillshadeLayer
Content copied to clipboard
DSL for hillshadeHighlightColorTransition.
hillshadeIlluminationAnchor
Link copied to clipboard
open override fun hillshadeIlluminationAnchor(hillshadeIlluminationAnchor: Expression): HillshadeLayer
Content copied to clipboard
open override fun hillshadeIlluminationAnchor(hillshadeIlluminationAnchor: HillshadeIlluminationAnchor): HillshadeLayer
Content copied to clipboard
hillshadeIlluminationDirection
Link copied to clipboard
open override fun hillshadeIlluminationDirection(hillshadeIlluminationDirection: Expression): HillshadeLayer
Content copied to clipboard
open override fun hillshadeIlluminationDirection(hillshadeIlluminationDirection: Double): HillshadeLayer
Content copied to clipboard
hillshadeShadowColor
Link copied to clipboard
open override fun hillshadeShadowColor(hillshadeShadowColor: Expression): HillshadeLayer
Content copied to clipboard
open override fun hillshadeShadowColor(@ColorInt() hillshadeShadowColor: Int): HillshadeLayer
Content copied to clipboard
open override fun hillshadeShadowColor(hillshadeShadowColor: String): HillshadeLayer
Content copied to clipboard
hillshadeShadowColorTransition
Link copied to clipboard
open override fun hillshadeShadowColorTransition(options: StyleTransition): HillshadeLayer
Content copied to clipboard
open override fun hillshadeShadowColorTransition(block: StyleTransition.Builder.() -> Unit): HillshadeLayer
Content copied to clipboard
DSL for hillshadeShadowColorTransition.
maxZoom
Link copied to clipboard
minZoom
Link copied to clipboard
sourceLayer
Link copied to clipboard
visibility
Link copied to clipboard
Properties
hillshadeAccentColor
Link copied to clipboard
The shading color used to accentuate rugged terrain like sharp cliffs and gorges.
hillshadeAccentColorAsColorInt
Link copied to clipboard
The shading color used to accentuate rugged terrain like sharp cliffs and gorges.
hillshadeAccentColorAsExpression
Link copied to clipboard
This is an Expression representation of "hillshade-accent-color".
hillshadeAccentColorTransition
Link copied to clipboard
Transition options for HillshadeAccentColor.
hillshadeExaggeration
Link copied to clipboard
Intensity of the hillshade
hillshadeExaggerationAsExpression
Link copied to clipboard
This is an Expression representation of "hillshade-exaggeration".
hillshadeExaggerationTransition
Link copied to clipboard
Transition options for HillshadeExaggeration.
hillshadeHighlightColor
Link copied to clipboard
The shading color of areas that faces towards the light source.
hillshadeHighlightColorAsColorInt
Link copied to clipboard
The shading color of areas that faces towards the light source.
hillshadeHighlightColorAsExpression
Link copied to clipboard
This is an Expression representation of "hillshade-highlight-color".
hillshadeHighlightColorTransition
Link copied to clipboard
Transition options for HillshadeHighlightColor.
hillshadeIlluminationAnchor
Link copied to clipboard
Direction of light source when map is rotated.
hillshadeIlluminationAnchorAsExpression
Link copied to clipboard
This is an Expression representation of "hillshade-illumination-anchor".
hillshadeIlluminationDirection
Link copied to clipboard
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
.hillshadeIlluminationDirectionAsExpression
Link copied to clipboard
This is an Expression representation of "hillshade-illumination-direction".
hillshadeShadowColor
Link copied to clipboard
The shading color of areas that face away from the light source.
hillshadeShadowColorAsColorInt
Link copied to clipboard
The shading color of areas that face away from the light source.
hillshadeShadowColorAsExpression
Link copied to clipboard
This is an Expression representation of "hillshade-shadow-color".
hillshadeShadowColorTransition
Link copied to clipboard
Transition options for HillshadeShadowColor.
sourceLayer
Link copied to clipboard
Source layer.
visibility
Link copied to clipboard
Visibility of the layer.