Introduce on_ramp and off_ramp, deprecate ramp
This commit is contained in:
committed by
Patrick Niklaus
parent
1e6888c0d3
commit
6018fcf490
@@ -142,6 +142,9 @@ module.exports = function () {
|
||||
case 'depart':
|
||||
case 'arrive':
|
||||
return v.maneuver.type;
|
||||
case 'on ramp':
|
||||
case 'off ramp':
|
||||
return v.maneuver.type + ' ' + v.maneuver.modifier;
|
||||
case 'roundabout':
|
||||
return 'roundabout-exit-' + v.maneuver.exit;
|
||||
case 'rotary':
|
||||
@@ -149,7 +152,7 @@ module.exports = function () {
|
||||
return v.rotary_name + '-exit-' + v.maneuver.exit;
|
||||
else
|
||||
return 'rotary-exit-' + v.maneuver.exit;
|
||||
case 'roundabout_turn':
|
||||
case 'roundabout turn':
|
||||
return v.maneuver.type + ' ' + v.maneuver.modifier + ' exit-' + v.maneuver.exit;
|
||||
// FIXME this is a little bit over-simplistic for merge/fork instructions
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user