folium
folium copied to clipboard
LayerControl is not draggable
Describe the bug
The LayerControler isn't draggable even it's turned on.
To Reproduce
m = folium.Map()
# add layer control
layer_control = folium.LayerControl(collapsed=False, position='topleft', draggable=True)
layer_control.add_to(m)
Environment (please complete the following information):
- Browser chrome
- Jupyter Notebook and html
- Python version (3.10.12)
- folium version (0.13.0)
- branca version (0.6.0)
This is an issue with the documentation really. We show the latest documentation by default, which is the main branch. But that may contain features that are not in the latest release. This has shown me that we should really show the documentation of the latest release by default. And allow people to select the documentation of the main branch if they select it.