Folium.Marker

Hello,
Please I have a concern with the Folium.Marker.
I am using streamlit to map our data. However when I try to use folium.Marker to display the Lat Long data of my dataFrame, although it displays them but in different maps.
I don’t know if it’s my rope that is causing the problem.
Please help me. Regards
Here is the problem in question in screenshot


Hi @oberlin28, welcome to the Streamlit community!

Moving line 232 out of the loop should solve this. You want to loop over to add the points, but not call folium_static each time. Moving out of the loop will call it once, displaying the map once.

Best,
Randy

1 Like

Hello Sir.
Thank you very much.
Its working
Best regard

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.