feat: new MapboxMapper cases
This commit is contained in:
parent
0e22c02da3
commit
6d71245d9f
1 changed files with 9 additions and 0 deletions
|
@ -20,6 +20,11 @@ class MapboxMapper {
|
|||
"arrive" -> {
|
||||
state.flag = true
|
||||
}
|
||||
"turn" -> {
|
||||
when (this.type) {
|
||||
"straight" -> state.direction.angle = OutAngle.Straight
|
||||
}
|
||||
}
|
||||
}
|
||||
when (this.modifier) {
|
||||
"right" -> {
|
||||
|
@ -31,6 +36,10 @@ class MapboxMapper {
|
|||
180.0 -> state.direction.angle = OutAngle.Straight
|
||||
}
|
||||
}
|
||||
"off ramp" -> {
|
||||
state.direction.angle = OutAngle.EasyRight
|
||||
state.direction.out = OutType.LongerLane
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue