Leaflet.Legend
Leaflet.Legend copied to clipboard
Font size
I wish to change the font size, how can add the function or something to change it?
The software adds css classes to the legend elements. The most flexible way to change font characteristics is by adding css for your site. No code changes required. Example - bold the legend title:
.leaflet-legend-title { font-weight: bold; }