Loading lib/Travelynx.pm +10 −7 Original line number Diff line number Diff line Loading @@ -2793,13 +2793,16 @@ sub startup { my @extra_station_coordinates = map { [ $_->{latlon}, $_->{name} ] } @extra_stations; my @now_coordinates = map { my @now_coordinates; if ( $opt{with_now_markers} ) { @now_coordinates = map { [ $_->{now_latlon}, $_->{train_type} . ' ' . ( $_->{train_line} // $_->{train_no} ) ] } @journeys; } my @station_pairs; my @polylines; Loading lib/Travelynx/Controller/Profile.pm +6 −3 Original line number Diff line number Diff line Loading @@ -115,6 +115,7 @@ sub profile { if ( $status->{checked_in} ) { $map_data = $self->journeys_to_map_data( journeys => [$status], with_now_markers => 1, ); } Loading Loading @@ -507,6 +508,7 @@ sub user_status { if ( $status->{checked_in} ) { $map_data = $self->journeys_to_map_data( journeys => [$status], with_now_markers => 1, ); } Loading Loading @@ -601,6 +603,7 @@ sub status_card { if ( $status->{checked_in} ) { $map_data = $self->journeys_to_map_data( journeys => [$status], with_now_markers => 1, ); } Loading lib/Travelynx/Controller/Traveling.pm +6 −4 Original line number Diff line number Diff line Loading @@ -372,6 +372,7 @@ sub homepage { $map_data = $self->journeys_to_map_data( journeys => [$status], show_full_route => 1, with_now_markers => 1, ); } my $journey_visibility Loading Loading @@ -463,6 +464,7 @@ sub status_card { $map_data = $self->journeys_to_map_data( journeys => [$status], show_full_route => 1, with_now_markers => 1, ); } my $journey_visibility Loading Loading
lib/Travelynx.pm +10 −7 Original line number Diff line number Diff line Loading @@ -2793,13 +2793,16 @@ sub startup { my @extra_station_coordinates = map { [ $_->{latlon}, $_->{name} ] } @extra_stations; my @now_coordinates = map { my @now_coordinates; if ( $opt{with_now_markers} ) { @now_coordinates = map { [ $_->{now_latlon}, $_->{train_type} . ' ' . ( $_->{train_line} // $_->{train_no} ) ] } @journeys; } my @station_pairs; my @polylines; Loading
lib/Travelynx/Controller/Profile.pm +6 −3 Original line number Diff line number Diff line Loading @@ -115,6 +115,7 @@ sub profile { if ( $status->{checked_in} ) { $map_data = $self->journeys_to_map_data( journeys => [$status], with_now_markers => 1, ); } Loading Loading @@ -507,6 +508,7 @@ sub user_status { if ( $status->{checked_in} ) { $map_data = $self->journeys_to_map_data( journeys => [$status], with_now_markers => 1, ); } Loading Loading @@ -601,6 +603,7 @@ sub status_card { if ( $status->{checked_in} ) { $map_data = $self->journeys_to_map_data( journeys => [$status], with_now_markers => 1, ); } Loading
lib/Travelynx/Controller/Traveling.pm +6 −4 Original line number Diff line number Diff line Loading @@ -372,6 +372,7 @@ sub homepage { $map_data = $self->journeys_to_map_data( journeys => [$status], show_full_route => 1, with_now_markers => 1, ); } my $journey_visibility Loading Loading @@ -463,6 +464,7 @@ sub status_card { $map_data = $self->journeys_to_map_data( journeys => [$status], show_full_route => 1, with_now_markers => 1, ); } my $journey_visibility Loading