Companion
Static variables and methods.
Functions
Properties
Defines the color of each pixel based on its density value in a heatmap. Should be an expression that uses ["heatmap-density"]
as input.
Similar to heatmap-weight
but controls the intensity of the heatmap globally. Primarily used for adjusting the heatmap based on zoom level.
This is an Expression representation of "heatmap-intensity".
Similar to heatmap-weight
but controls the intensity of the heatmap globally. Primarily used for adjusting the heatmap based on zoom level.
Transition options for HeatmapIntensity.
The global opacity at which the heatmap layer will be drawn.
This is an Expression representation of "heatmap-opacity".
The global opacity at which the heatmap layer will be drawn.
Transition options for HeatmapOpacity.
Radius of influence of one heatmap point in pixels. Increasing the value makes the heatmap smoother, but less detailed.
This is an Expression representation of "heatmap-radius".
Radius of influence of one heatmap point in pixels. Increasing the value makes the heatmap smoother, but less detailed.
Transition options for HeatmapRadius.
A measure of how much an individual point contributes to the heatmap. A value of 10 would be equivalent to having 10 points of weight 1 in the same spot. Especially useful when combined with clustering.
This is an Expression representation of "heatmap-weight".
A measure of how much an individual point contributes to the heatmap. A value of 10 would be equivalent to having 10 points of weight 1 in the same spot. Especially useful when combined with clustering.
The maximum zoom level for the layer. At zoom levels equal to or greater than the maxzoom, the layer will be hidden.
Range: minimum: 0 maximum: 24
The minimum zoom level for the layer. At zoom levels less than the minzoom, the layer will be hidden.
Range: minimum: 0 maximum: 24
Visibility of the layer.