Values.RoutePedestrianTravelStepSourceSteps of a leg that must be performed during the travel portion of the leg.
type nonrec t = {continueStepDetails : RouteContinueStepDetails.t option;Details related to the continue step.
*)currentRoad : RouteRoad.t option;Details of the current road. See RouteRoad for details of sub-attributes.
*)distance : DistanceMeters.t option;Distance of the step.
*)duration : DurationSeconds.t option;Duration of the step. Unit: seconds
*)exitNumber : LocalizedStringList.t option;Exit number of the road exit, if applicable.
*)geometryOffset : RoutePedestrianTravelStepGeometryOffsetInteger.t option;Offset in the leg geometry corresponding to the start of this step.
*)instruction : SensitiveString.t option;Brief description of the step in the requested language. Only available when the TravelStepType is Default.
*)keepStepDetails : RouteKeepStepDetails.t option;Details that are specific to a Keep step.
*)nextRoad : RouteRoad.t option;Details of the next road. See RouteRoad for details of sub-attributes.
*)roundaboutEnterStepDetails : RouteRoundaboutEnterStepDetails.t option;Details that are specific to a Roundabout Enter step.
*)roundaboutExitStepDetails : RouteRoundaboutExitStepDetails.t option;Details that are specific to a Roundabout Exit step.
*)roundaboutPassStepDetails : RouteRoundaboutPassStepDetails.t option;Details that are specific to a Roundabout Pass step.
*)signpost : RouteSignpost.t option;Sign post information of the action, applicable only for TurnByTurn steps. See RouteSignpost for details of sub-attributes.
*)turnStepDetails : RouteTurnStepDetails.t option;Details that are specific to a turn step.
*)type_ : RoutePedestrianTravelStepType.t option;Type of the step.
*)}val make :
?continueStepDetails:??? ->
?currentRoad:??? ->
?distance:??? ->
?duration:??? ->
?exitNumber:??? ->
?geometryOffset:??? ->
?instruction:??? ->
?keepStepDetails:??? ->
?nextRoad:??? ->
?roundaboutEnterStepDetails:??? ->
?roundaboutExitStepDetails:??? ->
?roundaboutPassStepDetails:??? ->
?signpost:??? ->
?turnStepDetails:??? ->
?type_:??? ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `Integer of RoutePedestrianTravelStepGeometryOffsetInteger.t
| `List of
[> `Structure of (string * [> `String of LanguageTag.t ]) list ]
list
| `Long of DistanceMeters.t
| `String of SensitiveString.t
| `Structure of
(string
* [> `Double of TurnAngle.t
| `Enum of string
| `Integer of
RouteRoundaboutExitStepDetailsRelativeExitInteger.t
| `List of
[> `Structure of
(string
* [> `Enum of string
| `String of LanguageTag.t
| `Structure of
(string
* [> `Enum of string | `String of LanguageTag.t ])
list ])
list ]
list ])
list ])
list ]