#528·folium

How can I add a legend to a folium map?

Author: ElmWerCreated Oct 17, 2016Updated Jan 22, 2026
Labelsfeature request

The position of the legend should be in "window coordinates", similar to mpl.legend(loc='upper left')

Source: python-visualization/folium