Removing unneeded stopgap
This commit is contained in:
parent
958199ffef
commit
07f3e2d457
@ -112,10 +112,7 @@ module.exports = function () {
|
||||
postfix = postfix || null;
|
||||
if (instructions) {
|
||||
return instructions.legs.reduce((m, v) => m.concat(v.steps), [])
|
||||
.filter(v => {
|
||||
// TODO distance check is stopgap for https://github.com/Project-OSRM/osrm-backend/pull/2159
|
||||
return v.maneuver.type !== 'arrive' && v.distance > 0
|
||||
})
|
||||
.filter(v => v.maneuver.type !== 'arrive')
|
||||
.map(keyFinder)
|
||||
.join(',');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user