Heatmap Layer
A heatmap.
See also
Parameters
the ID of the layer
the ID of the source
Constructors
Types
Functions
Bind the layer to the Style.
Bind the layer to the map controller.
A filter is a property at the layer level that determines which features should be rendered in a style layer.
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.
Set the HeatmapIntensity property transition options
DSL for heatmapIntensityTransition.
The global opacity at which the heatmap layer will be drawn.
Set the HeatmapOpacity property transition options
DSL for heatmapOpacityTransition.
Radius of influence of one heatmap point in pixels. Increasing the value makes the heatmap smoother, but less detailed.
Set the HeatmapRadius property transition options
DSL for heatmapRadiusTransition.
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.
The minimum zoom level for the layer. At zoom levels less than the minzoom, the layer will be hidden.
A source layer is an individual layer of data within a vector source. A vector source can have multiple source layers.
Whether this layer is displayed.