I am trying to build a simple widget that adds and delete a heatmap.
I started a costume widget adding html(why are there two html files(widget and widget html)) css and js
and can add it to a web application (not loading i assume because my code is faulty)
heres a codepen for the widget:
here is the webmap if its relevent: