Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -24,7 +24,14 @@ st.write('Filtered Data:')
|
|
| 24 |
st.write(filtered_data)
|
| 25 |
|
| 26 |
# Create a map object
|
| 27 |
-
m = folium.Map(location=
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
|
| 29 |
# Add markers to the map
|
| 30 |
for index, row in filtered_data.iterrows():
|
|
|
|
| 24 |
st.write(filtered_data)
|
| 25 |
|
| 26 |
# Create a map object
|
| 27 |
+
m = folium.Map(location=(filtered_data['latitude'].mean(), filtered_data['longitude'].mean()), zoom_start=10)
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
# import folium
|
| 31 |
+
# from IPython.display import display
|
| 32 |
+
# LDN_COORDINATES = (51.5074, 0.1278)
|
| 33 |
+
# myMap = folium.Map(location=LDN_COORDINATES, zoom_start=12)
|
| 34 |
+
# display(myMap)
|
| 35 |
|
| 36 |
# Add markers to the map
|
| 37 |
for index, row in filtered_data.iterrows():
|