HillshadeLayer

class HillshadeLayer(layerId: String, sourceId: String) : Layer, HillshadeLayerDsl

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
fun HillshadeLayer(layerId: String, sourceId: String)
the ID of the layer

Types

Companion
Link copied to clipboard
object Companion
Static variables and methods.

Functions

bindTo
Link copied to clipboard
fun bindTo(delegate: StyleInterface)
Bind the layer to the Style.
open override fun bindTo(delegate: StyleInterface, position: LayerPosition?)
Bind the layer to the map controller.
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
hillshadeAccentColor
Link copied to clipboard
open override fun hillshadeAccentColor(hillshadeAccentColor: Expression): HillshadeLayer
Set the HillshadeAccentColor property
open override fun hillshadeAccentColor(@ColorInt() hillshadeAccentColor: Int): HillshadeLayer
Set the HillshadeAccentColor property.
open override fun hillshadeAccentColor(hillshadeAccentColor: String): HillshadeLayer
Set the HillshadeAccentColor property
hillshadeAccentColorTransition
Link copied to clipboard
open override fun hillshadeAccentColorTransition(options: StyleTransition): HillshadeLayer
Set the HillshadeAccentColor property transition options
open override fun hillshadeAccentColorTransition(block: StyleTransition.Builder.() -> Unit): HillshadeLayer
hillshadeExaggeration
Link copied to clipboard
open override fun hillshadeExaggeration(hillshadeExaggeration: Expression): HillshadeLayer
Set the HillshadeExaggeration property
open override fun hillshadeExaggeration(hillshadeExaggeration: Double): HillshadeLayer
Set the HillshadeExaggeration property
hillshadeExaggerationTransition
Link copied to clipboard
open override fun hillshadeExaggerationTransition(options: StyleTransition): HillshadeLayer
Set the HillshadeExaggeration property transition options
open override fun hillshadeExaggerationTransition(block: StyleTransition.Builder.() -> Unit): HillshadeLayer
hillshadeHighlightColor
Link copied to clipboard
open override fun hillshadeHighlightColor(hillshadeHighlightColor: Expression): HillshadeLayer
Set the HillshadeHighlightColor property
open override fun hillshadeHighlightColor(@ColorInt() hillshadeHighlightColor: Int): HillshadeLayer
Set the HillshadeHighlightColor property.
open override fun hillshadeHighlightColor(hillshadeHighlightColor: String): HillshadeLayer
Set the HillshadeHighlightColor property
hillshadeHighlightColorTransition
Link copied to clipboard
open override fun hillshadeHighlightColorTransition(options: StyleTransition): HillshadeLayer
Set the HillshadeHighlightColor property transition options
open override fun hillshadeHighlightColorTransition(block: StyleTransition.Builder.() -> Unit): HillshadeLayer
hillshadeIlluminationAnchor
Link copied to clipboard
open override fun hillshadeIlluminationAnchor(hillshadeIlluminationAnchor: Expression): HillshadeLayer
Set the HillshadeIlluminationAnchor property
open override fun hillshadeIlluminationAnchor(hillshadeIlluminationAnchor: HillshadeIlluminationAnchor): HillshadeLayer
Set the HillshadeIlluminationAnchor property
hillshadeIlluminationDirection
Link copied to clipboard
open override fun hillshadeIlluminationDirection(hillshadeIlluminationDirection: Expression): HillshadeLayer
Set the HillshadeIlluminationDirection property
open override fun hillshadeIlluminationDirection(hillshadeIlluminationDirection: Double): HillshadeLayer
Set the HillshadeIlluminationDirection property
hillshadeShadowColor
Link copied to clipboard
open override fun hillshadeShadowColor(hillshadeShadowColor: Expression): HillshadeLayer
Set the HillshadeShadowColor property
open override fun hillshadeShadowColor(@ColorInt() hillshadeShadowColor: Int): HillshadeLayer
Set the HillshadeShadowColor property.
open override fun hillshadeShadowColor(hillshadeShadowColor: String): HillshadeLayer
Set the HillshadeShadowColor property
hillshadeShadowColorTransition
Link copied to clipboard
open override fun hillshadeShadowColorTransition(options: StyleTransition): HillshadeLayer
Set the HillshadeShadowColor property transition options
open override fun hillshadeShadowColorTransition(block: StyleTransition.Builder.() -> Unit): HillshadeLayer
maxZoom
Link copied to clipboard
open override fun maxZoom(maxZoom: Double): HillshadeLayer
Set the maxzoom property
minZoom
Link copied to clipboard
open override fun minZoom(minZoom: Double): HillshadeLayer
Set the minzoom property
sourceLayer
Link copied to clipboard
open override fun sourceLayer(sourceLayer: String): HillshadeLayer
Set the sourceLayer property
toString
Link copied to clipboard
open fun toString(): String
visibility
Link copied to clipboard
open override fun visibility(visibility: Visibility): HillshadeLayer
Set the Visibility property

Properties

hillshadeAccentColor
Link copied to clipboard
val hillshadeAccentColor: String?
The shading color used to accentuate rugged terrain like sharp cliffs and gorges.
hillshadeAccentColorAsColorInt
Link copied to clipboard
val hillshadeAccentColorAsColorInt: Int?
The shading color used to accentuate rugged terrain like sharp cliffs and gorges.
hillshadeAccentColorAsExpression
Link copied to clipboard
val hillshadeAccentColorAsExpression: Expression?
This is an Expression representation of "hillshade-accent-color".
hillshadeAccentColorTransition
Link copied to clipboard
val hillshadeAccentColorTransition: StyleTransition?
Transition options for HillshadeAccentColor.
hillshadeExaggeration
Link copied to clipboard
val hillshadeExaggeration: Double?
Intensity of the hillshade
hillshadeExaggerationAsExpression
Link copied to clipboard
val hillshadeExaggerationAsExpression: Expression?
This is an Expression representation of "hillshade-exaggeration".
hillshadeExaggerationTransition
Link copied to clipboard
val hillshadeExaggerationTransition: StyleTransition?
Transition options for HillshadeExaggeration.
hillshadeHighlightColor
Link copied to clipboard
val hillshadeHighlightColor: String?
The shading color of areas that faces towards the light source.
hillshadeHighlightColorAsColorInt
Link copied to clipboard
val hillshadeHighlightColorAsColorInt: Int?
The shading color of areas that faces towards the light source.
hillshadeHighlightColorAsExpression
Link copied to clipboard
val hillshadeHighlightColorAsExpression: Expression?
This is an Expression representation of "hillshade-highlight-color".
hillshadeHighlightColorTransition
Link copied to clipboard
val hillshadeHighlightColorTransition: StyleTransition?
Transition options for HillshadeHighlightColor.
hillshadeIlluminationAnchor
Link copied to clipboard
Direction of light source when map is rotated.
hillshadeIlluminationAnchorAsExpression
Link copied to clipboard
val hillshadeIlluminationAnchorAsExpression: Expression?
This is an Expression representation of "hillshade-illumination-anchor".
hillshadeIlluminationDirection
Link copied to clipboard
val hillshadeIlluminationDirection: Double?
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.
val hillshadeIlluminationDirectionAsExpression: Expression?
This is an Expression representation of "hillshade-illumination-direction".
hillshadeShadowColor
Link copied to clipboard
val hillshadeShadowColor: String?
The shading color of areas that face away from the light source.
hillshadeShadowColorAsColorInt
Link copied to clipboard
val hillshadeShadowColorAsColorInt: Int?
The shading color of areas that face away from the light source.
hillshadeShadowColorAsExpression
Link copied to clipboard
val hillshadeShadowColorAsExpression: Expression?
This is an Expression representation of "hillshade-shadow-color".
hillshadeShadowColorTransition
Link copied to clipboard
val hillshadeShadowColorTransition: StyleTransition?
Transition options for HillshadeShadowColor.
layerId
Link copied to clipboard
open override val layerId: String
the ID of the layer
maxZoom
Link copied to clipboard
open override val maxZoom: Double?
The maximum zoom level for the layer.
minZoom
Link copied to clipboard
open override val minZoom: Double?
The minimum zoom level for the layer.
sourceId
Link copied to clipboard
val sourceId: String
the ID of the source
sourceLayer
Link copied to clipboard
val sourceLayer: String?
Source layer.
visibility
Link copied to clipboard
open override val visibility: Visibility?
Visibility of the layer.