Spaces:
Build error
Build error
elli-teu commited on
Commit ·
e97cfa6
1
Parent(s): cc58789
Changed color of stop
Browse files
app.py
CHANGED
|
@@ -221,7 +221,7 @@ def visualize(filtered_data, stop_name):
|
|
| 221 |
folium.Marker(
|
| 222 |
[row['stop_lat'], row['stop_lon']],
|
| 223 |
popup=f"Bus stop: {row['stop_name']} Bus occupancy: {categories[row['vehicle_occupancystatus']] }",
|
| 224 |
-
icon = folium.Icon(
|
| 225 |
).add_to(m)
|
| 226 |
else:
|
| 227 |
folium.Marker(
|
|
|
|
| 221 |
folium.Marker(
|
| 222 |
[row['stop_lat'], row['stop_lon']],
|
| 223 |
popup=f"Bus stop: {row['stop_name']} Bus occupancy: {categories[row['vehicle_occupancystatus']] }",
|
| 224 |
+
icon = folium.Icon(color="darkpurple", icon="bus-simple", prefix="fa")
|
| 225 |
).add_to(m)
|
| 226 |
else:
|
| 227 |
folium.Marker(
|