ColorReliefLayer

Client-side elevation coloring based on DEM data. The implementation supports Mapbox Terrain RGB, Mapzen Terrarium tiles and custom encodings.

See also

<a href="https://maplibre.org/maplibre-style-spec/#layers-color-relief">The online documentation</a>

Constructors

Link copied to clipboard
constructor(layerId: String, sourceId: String)
Creates a ColorReliefLayer.

Properties

Link copied to clipboard
open val nativePtr: Long

Functions

Link copied to clipboard
Get the ColorReliefColor property
Link copied to clipboard
Defines the color of each pixel based on its elevation.
Link copied to clipboard
Get the ColorReliefOpacity property
Link copied to clipboard
Get the ColorReliefOpacity property transition options
Link copied to clipboard
Get a single expression filter.
Link copied to clipboard
open fun getId(): String
Link copied to clipboard
open fun getMaxZoom(): Float
Link copied to clipboard
open fun getMinZoom(): Float
Link copied to clipboard
Get the source id.
Link copied to clipboard
Get the source layer.
Link copied to clipboard
Link copied to clipboard
open fun isDetached(): Boolean
Link copied to clipboard
Set the ColorReliefOpacity property transition options
Link copied to clipboard
open fun setDetached()
Link copied to clipboard
open fun setFilter(@NonNull filter: Expression)
Set a single expression filter.
Link copied to clipboard
open fun setMaxZoom(zoom: Float)
Link copied to clipboard
open fun setMinZoom(zoom: Float)
Link copied to clipboard
open fun setProperties(@NonNull properties: Array<PropertyValue<out Any>>)
Link copied to clipboard
open fun setSourceLayer(sourceLayer: String)
Set the source layer.
Link copied to clipboard
Set a single expression filter.
Link copied to clipboard
Set a property or properties.
Link copied to clipboard
Set the source Layer.