Thai Tran
commited on
Commit
·
476a45d
1
Parent(s):
9bba586
Add application file
Browse files
app.py
CHANGED
@@ -22,4 +22,6 @@ for i, row in data.iterrows():
|
|
22 |
folium.Marker([row['lat'], row['lon']], popup=row['name']).add_to(my_map)
|
23 |
|
24 |
# Render the map in Streamlit
|
25 |
-
folium_static(my_map)
|
|
|
|
|
|
22 |
folium.Marker([row['lat'], row['lon']], popup=row['name']).add_to(my_map)
|
23 |
|
24 |
# Render the map in Streamlit
|
25 |
+
#folium_static(my_map)
|
26 |
+
# Render the map using Streamlit's 'write' function
|
27 |
+
st.write(my_map._repr_html_(), unsafe_allow_html=True)
|