'Is it possible to change the color of the shape when clicking on it python folium?

Is there an option to make a shape plotted on a folium map change its color when it gets clicked / selected?

folium.GeoJson(test).add_to(m)

Thank you!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source