You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/http.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -583,7 +583,6 @@ step.
583
583
-`destinations`: The destinations of the way. Will be `undefined` if there are no destinations.
584
584
-`exits`: The exit numbers or names of the way. Will be `undefined` if there are no exit numbers or names.
585
585
-`mode`: A string signifying the mode of transportation.
586
-
-`classes`: An array of strings signifying the classes of the road as specified in the profile.
587
586
-`maneuver`: A `StepManeuver` object representing the maneuver.
588
587
-`intersections`: A list of `Intersection` objects that are passed along the segment, the very first belonging to the StepManeuver
589
588
-`rotary_name`: The name for the rotary. Optionally included, if the step is a rotary and a rotary name is available.
@@ -597,7 +596,6 @@ step.
597
596
"mode" : "driving",
598
597
"duration" : 15.6,
599
598
"weight" : 15.6,
600
-
"classes": ["toll", "restricted"],
601
599
"intersections" : [
602
600
{ "bearings" : [ 10, 92, 184, 270 ],
603
601
"lanes" : [
@@ -735,6 +733,7 @@ location of the StepManeuver. Further intersections are listed for every cross-w
735
733
736
734
-`location`: A `[longitude, latitude]` pair describing the location of the turn.
737
735
-`bearings`: A list of bearing values (e.g. [0,90,180,270]) that are available at the intersection. The bearings describe all available roads at the intersection. Values are between 0-359 (0=true north)
736
+
-`classes`: An array of strings signifying the classes (as specified in the profile) of the road exiting the intersection.
738
737
-`entry`: A list of entry flags, corresponding in a 1:1 relationship to the bearings. A value of `true` indicates that the respective road could be entered on a valid route.
739
738
`false` indicates that the turn onto the respective road would violate a restriction.
740
739
-`in`: index into bearings/entry array. Used to calculate the bearing just before the turn. Namely, the clockwise angle from true north to the
@@ -753,6 +752,7 @@ location of the StepManeuver. Further intersections are listed for every cross-w
0 commit comments