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

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.

Link copied to clipboard

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

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

Intensity of the hillshade

Link copied to clipboard
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.

Link copied to clipboard

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

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.

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.

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.

Link copied to clipboard

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

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.

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.

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

The slot this layer is assigned to. If specified, and a slot with that name exists, it will be placed at that position in the layer order.

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.

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

Whether this layer is displayed.

Inheritors

Link copied to clipboard