Skip to content
Snippets Groups Projects
Commit 733fe2d8 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

map: add legend, link to history map from history page

parent 77e49987
No related branches found
No related tags found
No related merge requests found
......@@ -462,7 +462,7 @@ sub map_history {
my @routes;
$self->render(
template => 'map',
template => 'history_map',
with_map => 1,
station_coordinates => \@station_coordinates,
station_pairs => \@station_pairs
......
......@@ -5,6 +5,13 @@
</div>
</div>
<div class="row">
<div class="col s12">
<span style="color: #f03;">●</span> Ein-/Ausstiegsstation<br/>
<span style="color: #f09;">—</span> Luftlinie zwischen Unterwegshalten
</div>
</div>
<script>
var map = L.map('map').setView([51.306, 9.712], 6);
......
......@@ -27,6 +27,13 @@
</div>
% }
<h2>Auswertungen</h2>
<div class="row">
<div class="col s12 m12 l12 center-align">
<a href="/history/map" class="waves-effect waves-light btn"><i class="material-icons left">map</i> Fahrtenkarte</a>
</div>
</div>
<h2>Ausfälle und Verspätungen</h2>
<div class="row">
<div class="col s12 m12 l5 center-align">
......
<div class="row">
<div class="col s12">
Karte aller bisherigen Zugfahrten:
</div>
</div>
%= include '_map', station_coordinates => $station_coordinates, station_pairs => $station_pairs
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment