Values.RouteVehicleTravelStepSourceSteps of a leg that correspond to the travel portion of the leg.
type nonrec t = {continueHighwayStepDetails : RouteContinueHighwayStepDetails.t option;Details that are specific to a Continue Highway step.
*)continueStepDetails : RouteContinueStepDetails.t option;Details that are specific to a Continue step.
*)currentRoad : RouteRoad.t option;Details of the current road.
*)distance : DistanceMeters.t option;Distance of the step.
*)duration : DurationSeconds.t option;Duration of the step. Unit: seconds
*)enterHighwayStepDetails : RouteEnterHighwayStepDetails.t option;Details that are specific to a Enter Highway step.
*)exitNumber : LocalizedStringList.t option;Exit number of the road exit, if applicable.
*)exitStepDetails : RouteExitStepDetails.t option;Details that are specific to a Roundabout Exit step.
*)geometryOffset : RouteVehicleTravelStepGeometryOffsetInteger.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.
*)rampStepDetails : RouteRampStepDetails.t option;Details that are specific to a Ramp step.
*)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_ : RouteVehicleTravelStepType.t option;Type of the step.
*)uTurnStepDetails : RouteUTurnStepDetails.t option;Details that are specific to a Turn step.
*)}val make :
?continueHighwayStepDetails:??? ->
?continueStepDetails:??? ->
?currentRoad:??? ->
?distance:??? ->
?duration:??? ->
?enterHighwayStepDetails:??? ->
?exitNumber:??? ->
?exitStepDetails:??? ->
?geometryOffset:??? ->
?instruction:??? ->
?keepStepDetails:??? ->
?nextRoad:??? ->
?rampStepDetails:??? ->
?roundaboutEnterStepDetails:??? ->
?roundaboutExitStepDetails:??? ->
?roundaboutPassStepDetails:??? ->
?signpost:??? ->
?turnStepDetails:??? ->
?type_:??? ->
?uTurnStepDetails:??? ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `Integer of RouteVehicleTravelStepGeometryOffsetInteger.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 RouteExitStepDetailsRelativeExitInteger.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 ]