Skip to content

Commit 34acd30

Browse files
committed
prepare for ferry instruction
1 parent 23c59a9 commit 34acd30

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

src/sidebar/instructions/Instructions.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ import right from './right.png'
1212
import sharpRight from './sharp_right.png'
1313
import roundabout from './roundabout.png'
1414
import keepRight from './keep_right.png'
15+
import ferry from './ferry.png'
16+
import unknown from './unknown.png'
1517
import uTurnRight from './u_turn_right.png'
1618
import ptStartTrip from './pt_start_trip.png'
1719
import ptTransferTo from './pt_transfer_to.png'
@@ -110,13 +112,15 @@ function getSignName(sign: number) {
110112
return keepRight
111113
case 8:
112114
return uTurnRight
115+
case 9:
116+
return ferry
113117
case 101:
114118
return ptStartTrip
115119
case 102:
116120
return ptTransferTo
117121
case 103:
118122
return ptEndTrip
119123
default:
120-
return 'unknown'
124+
return unknown
121125
}
122126
}

src/sidebar/instructions/ferry.png

16.6 KB
Loading
4.63 KB
Loading

0 commit comments

Comments
 (0)