remove circles on layovers in the embed map

they were ugly and also took forever to generate
This commit is contained in:
Kaaninchen
2026-08-20 17:53:22 +02:00
parent 1069879680
commit 7e47874f78
-10
View File
@@ -279,16 +279,6 @@ def generate_static_map(stops: dict, mode: str, operator: str, route_color: str)
size=12 size=12
) )
) )
elif mode not in ["TRAM", "BUS", "SUBWAY", "SUBURBAN", "METRO"]: # wayyy too many stops...
context.add_object(
staticmaps.Circle(
center=point,
fill_color=white,
radius_km=0.1,
color=stop_color,
width=10,
)
)
lats = [c.lat().degrees for c in stop_coords] lats = [c.lat().degrees for c in stop_coords]
lons = [c.lng().degrees for c in stop_coords] lons = [c.lng().degrees for c in stop_coords]