HillshadeLayerDsl

interface HillshadeLayerDsl

This Interface contains all the functions that will be exposed to Koltin DSL.

Separated the DSL receiver class to this interface to avoid IDE code suggestion for property getters.

Functions

hillshadeAccentColor
Link copied to clipboard
abstract fun hillshadeAccentColor(hillshadeAccentColor: Expression): HillshadeLayer
abstract fun hillshadeAccentColor(@ColorInt hillshadeAccentColor: Int): HillshadeLayer
abstract fun hillshadeAccentColor(hillshadeAccentColor: String = "#000000"): HillshadeLayer

The shading color used to accentuate rugged terrain like sharp cliffs and gorges.

hillshadeAccentColorTransition
Link copied to clipboard
abstract fun hillshadeAccentColorTransition(options: StyleTransition): HillshadeLayer
abstract fun hillshadeAccentColorTransition(block: StyleTransition.Builder.() -> Unit): HillshadeLayer

The shading color used to accentuate rugged terrain like sharp cliffs and gorges.

hillshadeExaggeration
Link copied to clipboard
abstract fun hillshadeExaggeration(hillshadeExaggeration: Expression): HillshadeLayer
abstract fun hillshadeExaggeration(hillshadeExaggeration: Double = 0.5): HillshadeLayer

Intensity of the hillshade

hillshadeExaggerationTransition
Link copied to clipboard
abstract fun hillshadeExaggerationTransition(options: StyleTransition): HillshadeLayer
abstract fun hillshadeExaggerationTransition(block: StyleTransition.Builder.() -> Unit): HillshadeLayer

Intensity of the hillshade

hillshadeHighlightColor
Link copied to clipboard
abstract fun hillshadeHighlightColor(hillshadeHighlightColor: Expression): HillshadeLayer
abstract fun hillshadeHighlightColor(@ColorInt hillshadeHighlightColor: Int): HillshadeLayer
abstract fun hillshadeHighlightColor(hillshadeHighlightColor: String = "#FFFFFF"): HillshadeLayer

The shading color of areas that faces towards the light source.

hillshadeHighlightColorTransition
Link copied to clipboard
abstract fun hillshadeHighlightColorTransition(options: StyleTransition): HillshadeLayer
abstract fun hillshadeHighlightColorTransition(block: StyleTransition.Builder.() -> Unit): HillshadeLayer

The shading color of areas that faces towards the light source.

hillshadeIlluminationAnchor
Link copied to clipboard
abstract fun hillshadeIlluminationAnchor(hillshadeIlluminationAnchor: Expression): HillshadeLayer
abstract fun hillshadeIlluminationAnchor(hillshadeIlluminationAnchor: HillshadeIlluminationAnchor = HillshadeIlluminationAnchor.VIEWPORT): HillshadeLayer

Direction of light source when map is rotated.

hillshadeIlluminationDirection
Link copied to clipboard
abstract fun hillshadeIlluminationDirection(hillshadeIlluminationDirection: Expression): HillshadeLayer
abstract fun hillshadeIlluminationDirection(hillshadeIlluminationDirection: Double = 335.0): HillshadeLayer

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.

hillshadeShadowColor
Link copied to clipboard
abstract fun hillshadeShadowColor(hillshadeShadowColor: Expression): HillshadeLayer
abstract fun hillshadeShadowColor(@ColorInt hillshadeShadowColor: Int): HillshadeLayer
abstract fun hillshadeShadowColor(hillshadeShadowColor: String = "#000000"): HillshadeLayer

The shading color of areas that face away from the light source.

hillshadeShadowColorTransition
Link copied to clipboard
abstract fun hillshadeShadowColorTransition(options: StyleTransition): HillshadeLayer
abstract fun hillshadeShadowColorTransition(block: StyleTransition.Builder.() -> Unit): HillshadeLayer

The shading color of areas that face away from the light source.

maxZoom
Link copied to clipboard
abstract fun maxZoom(maxZoom: Double): HillshadeLayer

The maximum zoom level for the layer. At zoom levels equal to or greater than the maxzoom, the layer will be hidden.

minZoom
Link copied to clipboard
abstract fun minZoom(minZoom: Double): HillshadeLayer

The minimum zoom level for the layer. At zoom levels less than the minzoom, the layer will be hidden.

sourceLayer
Link copied to clipboard
abstract fun sourceLayer(sourceLayer: String): HillshadeLayer

A source layer is an individual layer of data within a vector source. A vector source can have multiple source layers.

visibility
Link copied to clipboard
abstract fun visibility(visibility: Visibility): HillshadeLayer

Whether this layer is displayed.

Inheritors

HillshadeLayer
Link copied to clipboard