summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Controller/Traveling.pm
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-02-21 23:31:50 +0100
committerDaniel Friesel <derf@finalrewind.org>2020-02-21 23:31:50 +0100
commita15dc1791c5f7a150a990f5104bb252513daa312 (patch)
tree189ca482c267faa5f3fbb6aa583557f315d83173 /lib/Travelynx/Controller/Traveling.pm
parentcb53a18898a19abe02d05d61a2ab5a6a75a5165c (diff)
calculate journey distance using polyline, if available
Diffstat (limited to 'lib/Travelynx/Controller/Traveling.pm')
-rwxr-xr-xlib/Travelynx/Controller/Traveling.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Travelynx/Controller/Traveling.pm b/lib/Travelynx/Controller/Traveling.pm
index dca53db..ff7df66 100755
--- a/lib/Travelynx/Controller/Traveling.pm
+++ b/lib/Travelynx/Controller/Traveling.pm
@@ -817,6 +817,7 @@ sub journey_details {
journey_id => $journey_id,
verbose => 1,
with_datetime => 1,
+ with_polyline => 1,
);
if ($journey) {