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" -> {
|
"arrive" -> {
|
||||||
state.flag = true
|
state.flag = true
|
||||||
}
|
}
|
||||||
|
"turn" -> {
|
||||||
|
when (this.type) {
|
||||||
|
"straight" -> state.direction.angle = OutAngle.Straight
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
when (this.modifier) {
|
when (this.modifier) {
|
||||||
"right" -> {
|
"right" -> {
|
||||||
|
@ -31,6 +36,10 @@ class MapboxMapper {
|
||||||
180.0 -> state.direction.angle = OutAngle.Straight
|
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