randyzwitch / streamlit-folium

Streamlit Component for rendering Folium maps
https://folium.streamlit.app/
MIT License
468 stars 176 forks source link

Ability to provide feature group as list #165

Closed patrontheo closed 10 months ago

patrontheo commented 10 months ago

It gives the ability to provide feature groups as list It fixes #163 and (includes #164)

I added tests to make sure it works. @blackary I am not an expert with this testing library, so I used the styling to make sure the layer is shown or not. There is probably a better way of doing it.

It partially addresses #153 (possibility to pass a list of feature groups). However, the layerControl is still not available.

patrontheo commented 10 months ago

ah yes sorry just saw I forgot to update tests/test_package.py, but you did it anyway, thx

blackary commented 10 months ago

Needed to do some linting, which you can do on your own with pre-commit install if you want

blackary commented 10 months ago

Thanks @patrontheo!

randyzwitch commented 10 months ago

Great work @patrontheo!