New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HTML - Folium - Not able to display map properly on the app despite unsafe_allow_html=True #1408
Comments
Hello @Tam-plotwise, Would you be able to provide a small code snippet so we can reproduce on our side ? Thanks a lot ! |
Here it is. My data contains following columns
|
Thanks for the snippet ! Streamlit doesn't currently allow Javascript to be rendered through You could wait a bit for custom components to integrate Folium into one, or integrate it directly into Streamlit. |
Thanks for the quick response. When do you expect the integration to finish? |
From #241 (comment) custom components is expected by H1 2020, should be around pretty soon as it's entering beta-testing ;) |
Closing as dupe of #601 |
I am creating an app using streamlit and folium. (I used
unsafe_allow_html=True
to make sure the map could be displayed in the app).My dataset contains 2000 rows. My deseriable output is a map of 2000 points, and if I click on each point, a pop up appears with information about address.
Note that if I use folium alone, I could still manage to create an HTML map file of 2000 points with popup. It is just I could not visualize it on streamlit app.
Could you have a check on this? Is it due to the size of my HTML?
The text was updated successfully, but these errors were encountered: