Allow legends on leaflet heatmaps

A container for the legend will have to be specified in order for it to
work with leaflet maps.