holoviz / panel

Panel: The powerful data exploration & web app framework for Python
https://panel.holoviz.org
BSD 3-Clause "New" or "Revised" License
4.81k stars 520 forks source link

Add bidirectional communication to folium #3986

Open MarcSkovMadsen opened 2 years ago

MarcSkovMadsen commented 2 years ago

Folium is highly popular and simple to use.

Streamlit Folium provides bidirectional comms and is one of the more popular Streamlit components https://github.com/randyzwitch/streamlit-folium

pvanhauw commented 6 months ago

Folium is at least x10 faster to render than geoview - using gv.DynamicMap() for a static html application I have implemented using both framework. Unfortunately you need to regenerate the folium map each time because there are no way to remove the markers. Having that feature would solved that kind of problem.

MarcSkovMadsen commented 6 months ago

I have looked at it recently because it would be a great use case for the new JSComponent in https://github.com/holoviz/panel/pull/5593. Unfortunately I don't think its simple to do as can see from the amount of the code in the streamlit-folium project.

ahuang11 commented 5 months ago

Folium is at least x10 faster to render than geoview - using gv.DynamicMap() for a static html application I have implemented using both framework.

Can you provide a minimal example reproducing this statement?