Hello, I am relatively new to using Streamlit and I am having a basic usage issue with Folium. I have a map that plots the locations of certain schools and displays a popup with data about them. However, I am trying to create a st.metric that updates with the school’s information when the user clicks on each of the map markers. Does anyone have an example code of how to achieve this update event for the metric?
Perhaps the following YouTube video is what you’re looking for, there’s an example on displaying st.metric and a map via folium: