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): <ERROR CLASS>
Content copied to clipboard
open override fun hillshadeAccentColor(@ColorInt() hillshadeAccentColor: Int): <ERROR CLASS>
Content copied to clipboard
open override fun hillshadeAccentColor(hillshadeAccentColor: String): <ERROR CLASS>
Content copied to clipboard
hillshadeAccentColorTransition
Link copied to clipboard
open override fun hillshadeAccentColorTransition(options: StyleTransition): <ERROR CLASS>
Content copied to clipboard
open override fun hillshadeAccentColorTransition(block: StyleTransition.Builder.() -> Unit): <ERROR CLASS>
Content copied to clipboard
DSL for hillshadeAccentColorTransition.
hillshadeExaggeration
Link copied to clipboard
open override fun hillshadeExaggeration(hillshadeExaggeration: Expression): <ERROR CLASS>
Content copied to clipboard
open override fun hillshadeExaggeration(hillshadeExaggeration: Double): <ERROR CLASS>
Content copied to clipboard
hillshadeExaggerationTransition
Link copied to clipboard
open override fun hillshadeExaggerationTransition(options: StyleTransition): <ERROR CLASS>
Content copied to clipboard
open override fun hillshadeExaggerationTransition(block: StyleTransition.Builder.() -> Unit): <ERROR CLASS>
Content copied to clipboard
DSL for hillshadeExaggerationTransition.
hillshadeHighlightColor
Link copied to clipboard
open override fun hillshadeHighlightColor(hillshadeHighlightColor: Expression): <ERROR CLASS>
Content copied to clipboard
open override fun hillshadeHighlightColor(@ColorInt() hillshadeHighlightColor: Int): <ERROR CLASS>
Content copied to clipboard
open override fun hillshadeHighlightColor(hillshadeHighlightColor: String): <ERROR CLASS>
Content copied to clipboard
hillshadeHighlightColorTransition
Link copied to clipboard
open override fun hillshadeHighlightColorTransition(options: StyleTransition): <ERROR CLASS>
Content copied to clipboard
open override fun hillshadeHighlightColorTransition(block: StyleTransition.Builder.() -> Unit): <ERROR CLASS>
Content copied to clipboard
DSL for hillshadeHighlightColorTransition.
hillshadeIlluminationAnchor
Link copied to clipboard
open override fun hillshadeIlluminationAnchor(hillshadeIlluminationAnchor: Expression): <ERROR CLASS>
Content copied to clipboard
open override fun hillshadeIlluminationAnchor(hillshadeIlluminationAnchor: HillshadeIlluminationAnchor): <ERROR CLASS>
Content copied to clipboard
hillshadeIlluminationDirection
Link copied to clipboard
open override fun hillshadeIlluminationDirection(hillshadeIlluminationDirection: Expression): <ERROR CLASS>
Content copied to clipboard
open override fun hillshadeIlluminationDirection(hillshadeIlluminationDirection: Double): <ERROR CLASS>
Content copied to clipboard
hillshadeShadowColor
Link copied to clipboard
open override fun hillshadeShadowColor(hillshadeShadowColor: Expression): <ERROR CLASS>
Content copied to clipboard
open override fun hillshadeShadowColor(@ColorInt() hillshadeShadowColor: Int): <ERROR CLASS>
Content copied to clipboard
open override fun hillshadeShadowColor(hillshadeShadowColor: String): <ERROR CLASS>
Content copied to clipboard
hillshadeShadowColorTransition
Link copied to clipboard
open override fun hillshadeShadowColorTransition(options: StyleTransition): <ERROR CLASS>
Content copied to clipboard
open override fun hillshadeShadowColorTransition(block: StyleTransition.Builder.() -> Unit): <ERROR CLASS>
Content copied to clipboard
DSL for hillshadeShadowColorTransition.
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.