summaryrefslogtreecommitdiff
path: root/lib/Travel/Status/DE/EFA
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-10-13 08:48:35 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2024-10-13 08:48:35 +0200
commitb8a15268fa0a14867c8056375843f54659d74aee (patch)
treeaa62049c4f5754011f4fdaac573c857fe3bb6d98 /lib/Travel/Status/DE/EFA
parent98296b5aa191d5ddbd9c511f688d66c5a77c6596 (diff)
Add coord request mode
Diffstat (limited to 'lib/Travel/Status/DE/EFA')
-rw-r--r--lib/Travel/Status/DE/EFA/Stop.pm7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/Travel/Status/DE/EFA/Stop.pm b/lib/Travel/Status/DE/EFA/Stop.pm
index af55ee3..4ef8e12 100644
--- a/lib/Travel/Status/DE/EFA/Stop.pm
+++ b/lib/Travel/Status/DE/EFA/Stop.pm
@@ -11,7 +11,7 @@ our $VERSION = '3.01';
Travel::Status::DE::EFA::Stop->mk_ro_accessors(
qw(sched_arr rt_arr arr arr_delay
sched_dep rt_dep dep dep_delay
- occupancy delay
+ occupancy delay distance_m
place name full_name id stop_id latlon
platform niveau)
);
@@ -117,6 +117,11 @@ first scheduled stop.
DateTime(3pm) object holding departure date and time. undef if this is the
final scheduled stop.
+=item $stop->distance_m
+
+Distance from request coordinates in meters. undef if the object has not
+been obtained by means of a coord request.
+
=item $stop->id
Stop ID.