Skip to content

Commit 4a287b9

Browse files
committed
Also insert opposite for triple use when going straight
1 parent a15e601 commit 4a287b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/lanes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ This naming scheme assumes the following algorithm for translating the Mapbox Di
1111
1. Classify each indication as leftward or rightward:
1212
* If the array contains both leftward and rightward indications:
1313
* If `valid_indication` is leftward, prepend `opposite ` to any rightward indication and set the `flipped` flag.
14-
* If `valid_indication` is rightward, prepend `opposite ` to any leftward indication.
14+
* Otherwise, prepend `opposite ` to any leftward indication.
1515
* Otherwise, if the array contains a leftward indication, set the `flipped` flag.
1616
1. For each indication, replace any occurrence of `left` or `right` with `turn` inside the indication.
1717
1. If `valid_indication` is set, replace any occurrence of `left` or `right`with `turn` inside `valid_indication` .

0 commit comments

Comments
 (0)