From 5998a56e98a3bcf378548f422f4025c0cda60057 Mon Sep 17 00:00:00 2001 From: Nicholas Orlowsky Date: Thu, 23 Apr 2026 19:07:01 -0400 Subject: [PATCH] fix map --- web/templates/map.html | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/web/templates/map.html b/web/templates/map.html index 8e0e688..d4f4225 100644 --- a/web/templates/map.html +++ b/web/templates/map.html @@ -26,13 +26,19 @@ html: `
- {{ loc.route_id }} to {{ loc.headsign }} + {{ loc.route_id }}
`, className: 'text-label' }); var marker = L.marker([{{loc.lat}}, {{loc.lng}}], {icon: icon}).addTo(map); - marker.bindPopup("{{ loc.route_id }}") + marker.bindPopup(` +
+ + {{ loc.route_id }} to {{ loc.headsign }} + +
+ `) } {% endfor %}