Open adolmajian opened 1 year ago
I am currently struggling with the same issue.
Adding a button, that forces a zoom change is a work-around.
Were you able to find a better solution? @adolmajian
What I ended up doing is not relying on a click at all. I added a crosshair as text in my Streamlit app and some hacky markdown to position the crosshair in the center of the map. You can see the app and code at https://isochrone.streamlit.app/.
I'm trying to move a single marker on the map to where the user clicks on the map but I'm struggling. With every click (st_folium) the marker is moving to the previous click location instead of the current click location. What I am doing wrong here?