Closed prusswan closed 11 months ago
@prusswan Thanks for the report! Merged your suggested fix and published a newer version as 0.4.2!
@jtmiclat Turns out that there was more than one issue involving LayerControl (see opengeos/leafmap#645). I tried to get it to work with leafmap first, if the changes make sense, I can submit a pull request for this repo as well.
@prusswan Feel free to make a new PR ! I'll review it when I get the chance
Very likely related to python-visualization/folium#1690 which "inspired" the example/fix below.
https://github.com/python-visualization/folium/pull/1690/commits/29429e8126b9ac719fdd5a244370b30fa6331a78 had a similar change by changing
Layer
toMacroElement