HeatmapLayer

class HeatmapLayer(layerId: String, sourceId: String) : Layer, HeatmapLayerDsl

A heatmap.

See also

Parameters

layerId

the ID of the layer

sourceId

the ID of the source

Constructors

HeatmapLayer
Link copied to clipboard
fun HeatmapLayer(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.
filter
Link copied to clipboard
open override fun filter(filter: Expression): HeatmapLayer
Set the filter property
heatmapColor
Link copied to clipboard
open override fun heatmapColor(heatmapColor: Expression): HeatmapLayer
Set the HeatmapColor property
heatmapIntensity
Link copied to clipboard
open override fun heatmapIntensity(heatmapIntensity: Expression): HeatmapLayer
Set the HeatmapIntensity property
open override fun heatmapIntensity(heatmapIntensity: Double): HeatmapLayer
Set the HeatmapIntensity property
heatmapIntensityTransition
Link copied to clipboard
open override fun heatmapIntensityTransition(options: StyleTransition): HeatmapLayer
Set the HeatmapIntensity property transition options
open override fun heatmapIntensityTransition(block: StyleTransition.Builder.() -> Unit): HeatmapLayer
heatmapOpacity
Link copied to clipboard
open override fun heatmapOpacity(heatmapOpacity: Expression): HeatmapLayer
Set the HeatmapOpacity property
open override fun heatmapOpacity(heatmapOpacity: Double): HeatmapLayer
Set the HeatmapOpacity property
heatmapOpacityTransition
Link copied to clipboard
open override fun heatmapOpacityTransition(options: StyleTransition): HeatmapLayer
Set the HeatmapOpacity property transition options
open override fun heatmapOpacityTransition(block: StyleTransition.Builder.() -> Unit): HeatmapLayer
heatmapRadius
Link copied to clipboard
open override fun heatmapRadius(heatmapRadius: Expression): HeatmapLayer
Set the HeatmapRadius property
open override fun heatmapRadius(heatmapRadius: Double): HeatmapLayer
Set the HeatmapRadius property
heatmapRadiusTransition
Link copied to clipboard
open override fun heatmapRadiusTransition(options: StyleTransition): HeatmapLayer
Set the HeatmapRadius property transition options
open override fun heatmapRadiusTransition(block: StyleTransition.Builder.() -> Unit): HeatmapLayer
heatmapWeight
Link copied to clipboard
open override fun heatmapWeight(heatmapWeight: Expression): HeatmapLayer
Set the HeatmapWeight property
open override fun heatmapWeight(heatmapWeight: Double): HeatmapLayer
Set the HeatmapWeight property
maxZoom
Link copied to clipboard
open override fun maxZoom(maxZoom: Double): HeatmapLayer
Set the maxzoom property
minZoom
Link copied to clipboard
open override fun minZoom(minZoom: Double): HeatmapLayer
Set the minzoom property
sourceLayer
Link copied to clipboard
open override fun sourceLayer(sourceLayer: String): HeatmapLayer
Set the sourceLayer property
visibility
Link copied to clipboard
open override fun visibility(visibility: Visibility): HeatmapLayer
Set the Visibility property

Properties

filter
Link copied to clipboard
val filter: Expression?
A expression specifying conditions on source features.
heatmapColor
Link copied to clipboard
val heatmapColor: Expression?
Defines the color of each pixel based on its density value in a heatmap.
heatmapIntensity
Link copied to clipboard
val heatmapIntensity: Double?
Similar to heatmap-weight but controls the intensity of the heatmap globally.
heatmapIntensityAsExpression
Link copied to clipboard
val heatmapIntensityAsExpression: Expression?
This is an Expression representation of "heatmap-intensity".
heatmapIntensityTransition
Link copied to clipboard
val heatmapIntensityTransition: StyleTransition?
Transition options for HeatmapIntensity.
heatmapOpacity
Link copied to clipboard
val heatmapOpacity: Double?
The global opacity at which the heatmap layer will be drawn.
heatmapOpacityAsExpression
Link copied to clipboard
val heatmapOpacityAsExpression: Expression?
This is an Expression representation of "heatmap-opacity".
heatmapOpacityTransition
Link copied to clipboard
val heatmapOpacityTransition: StyleTransition?
Transition options for HeatmapOpacity.
heatmapRadius
Link copied to clipboard
val heatmapRadius: Double?
Radius of influence of one heatmap point in pixels.
heatmapRadiusAsExpression
Link copied to clipboard
val heatmapRadiusAsExpression: Expression?
This is an Expression representation of "heatmap-radius".
heatmapRadiusTransition
Link copied to clipboard
val heatmapRadiusTransition: StyleTransition?
Transition options for HeatmapRadius.
heatmapWeight
Link copied to clipboard
val heatmapWeight: Double?
A measure of how much an individual point contributes to the heatmap.
heatmapWeightAsExpression
Link copied to clipboard
val heatmapWeightAsExpression: Expression?
This is an Expression representation of "heatmap-weight".
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.