Module Values.LegGeometrySource

Contains the geometry details for each path between a pair of positions. Used in plotting a route leg on a map.

Sourcetype nonrec t = {
  1. lineString : LineString.t option;
    (*

    An ordered list of positions used to plot a route on a map. The first position is closest to the start position for the leg, and the last position is the closest to the end position for the leg. For example, [[-123.117, 49.284],[-123.115, 49.285],[-123.115, 49.285]]

    *)
}
Sourceval make : ?lineString:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `List of [> `Double of Double.t ] list ] list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t