summaryrefslogtreecommitdiff
path: root/lib/Travelynx.pm
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-04-14 18:14:19 +0200
committerDaniel Friesel <derf@finalrewind.org>2020-04-14 18:22:49 +0200
commit4cc510d7109a371f2458628e74b9cdb664eb2465 (patch)
tree1737e999590c630278270d8a54c7455662217f30 /lib/Travelynx.pm
parent6826c033868ac03d91e20eafe94fbb9b0c88b73c (diff)
use polyline when computing monthly/yearly distance travelled1.15.10
Closes #40
Diffstat (limited to 'lib/Travelynx.pm')
-rwxr-xr-xlib/Travelynx.pm11
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm
index 7c9e723..818205f 100755
--- a/lib/Travelynx.pm
+++ b/lib/Travelynx.pm
@@ -1790,11 +1790,12 @@ sub startup {
}
my @journeys = $self->get_user_travels(
- uid => $uid,
- cancelled => $opt{cancelled} ? 1 : 0,
- verbose => 1,
- after => $interval_start,
- before => $interval_end
+ uid => $uid,
+ cancelled => $opt{cancelled} ? 1 : 0,
+ verbose => 1,
+ with_polyline => 1,
+ after => $interval_start,
+ before => $interval_end
);
my $stats = $self->compute_journey_stats(@journeys);