Heatmap layer radius and weight by property (heatmap helper)
This example shows how to add a heatmap layer to the map, simultaneously controlling the radius and weight based on a property using the heatmap layer helper. Download the sample data here.
Since zoomCompensation is disabled in this example, it is recommended to view the map specifically on z12.
Related examples
An extension of MapLibre GL JS