From f9bfd6918a90290a6318bf9a7a043436392b36aa Mon Sep 17 00:00:00 2001 From: Jannis R Date: Sun, 26 Jul 2020 13:20:15 +0200 Subject: [PATCH] =?UTF-8?q?parseJourneyLeg:=20parse=20jny.poly=20?= =?UTF-8?q?=F0=9F=90=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fixes #186 --- parse/journey-leg.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/parse/journey-leg.js b/parse/journey-leg.js index d3f489fd..7b8ffe10 100644 --- a/parse/journey-leg.js +++ b/parse/journey-leg.js @@ -66,6 +66,8 @@ const parseJourneyLeg = (ctx, pt, date) => { // pt = raw leg if (pt.jny && pt.jny.polyline) { res.polyline = pt.jny.polyline || null + } else if (pt.jny && pt.jny.poly) { + res.polyline = profile.parsePolyline(ctx, pt.jny.poly) } if (pt.type === 'WALK' || pt.type === 'TRSF' || pt.type === 'DEVI') {