add a legend to the leaflet map