fix map
All checks were successful
Create and publish a Docker image / build-and-push-image (push) Successful in 5m41s

This commit is contained in:
Nicholas Orlowsky 2026-04-23 19:07:01 -04:00
parent 5f12042f2f
commit 5998a56e98
No known key found for this signature in database
GPG key ID: A9F3BA4C0AA7A70B

View file

@ -26,13 +26,19 @@
html: `
<div>
<span style="background-color: #eee; padding: 2px;">
{{ loc.route_id }} to {{ loc.headsign }}
{{ loc.route_id }}
</span>
</div>`,
className: 'text-label'
});
var marker = L.marker([{{loc.lat}}, {{loc.lng}}], {icon: icon}).addTo(map);
marker.bindPopup("{{ loc.route_id }}")
marker.bindPopup(`
<div>
<span style="padding: 2px;">
{{ loc.route_id }} to {{ loc.headsign }}
</span>
</div>
`)
}
{% endfor %}
</script>