Skip to content

streamlit add a click response function #574

Answered by giswqs
kongdd asked this question in Q&A
Discussion options

You must be logged in to vote

Unfortunately, streamlit only supports folium, which does not support bidirectional functionality. It is impossible to get mouse clicking coordinates programmatically. See python-visualization/folium#1402

The recommended way is to use voila or solara.

Voila:

Solara:

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by giswqs
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants