You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import folium
import streamlit as st
from folium.plugins import Draw
from streamlit_folium import st_folium
m = folium.Map(location=[43.72299, 10.396579], zoom_start=13)
Draw(export=True).add_to(m)
folium.Marker(
location=[43.72299, 10.396579],
popup="Torre di Pisa"
).add_to(m)
c1, c2 = st.columns(2)
with c1:
output = st_folium(m, use_container_width=True)
with c2:
st.write(output)
But after clicking on the marker and trying to draw a shape, it seems that the mouse gets stuck, just like what is described here: Streamlit_folium release button not working.
Do you guys have any idea how to solve this problem?
I'm trying to implement this code:
But after clicking on the marker and trying to draw a shape, it seems that the mouse gets stuck, just like what is described here: Streamlit_folium release button not working.
Do you guys have any idea how to solve this problem?
Debug info:
The text was updated successfully, but these errors were encountered: