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 %}