mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 15:19:35 +02:00
parent
8923bcb619
commit
04d550f80c
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ const createParseJourneyLeg = (profile, stations, lines, remarks, polylines) =>
|
||||||
res.polyline = p && p.crdEncYX || null
|
res.polyline = p && p.crdEncYX || null
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pt.type === 'WALK') {
|
if (pt.type === 'WALK' || pt.type === 'TRSF') {
|
||||||
res.mode = 'walking'
|
res.mode = 'walking'
|
||||||
res.public = true
|
res.public = true
|
||||||
res.distance = pt.gis && pt.gis.dist || null
|
res.distance = pt.gis && pt.gis.dist || null
|
||||||
|
|
Loading…
Add table
Reference in a new issue