Heatmap layer opacity (heatmap helper)
This example demonstrates the process of incorporating a heatmap layer onto the map while customizing its opacity. To accomplish this, the heatmap layer helper is employed. To replicate this example, download the earthquake sample data.
In this particular instance, we modify the layer’s transparency based on the zoom level.
Related examples
An extension of MapLibre GL JS