If you click on the flame icon to display the heatmap layer, it will break if you then disable it by clicking the flame icon again.
Also, the heatmap takes forever to build up enough data to be useful, at which point it begins to accumulate too much data in memory and causes the map to be less responsive over time. Need to figure out how to gradually replace the complex paths with a simplified/reduced version or something. Other heatmap libraries might be worth looking at since the one I'm using now is pretty
basic. 🤷♂️