Module Values.SearchForPositionResultSource

Contains a search result from a position search query that is run on a place index resource.

Sourcetype nonrec t = {
  1. place : Place.t option;
    (*

    Details about the search result, such as its address and position.

    *)
  2. distance : SearchForPositionResultDistanceDouble.t option;
    (*

    The distance in meters of a great-circle arc between the query position and the result. A great-circle arc is the shortest path on a sphere, in this case the Earth. This returns the shortest distance between two locations.

    *)
  3. placeId : PlaceId.t option;
    (*

    The unique identifier of the place. You can use this with the GetPlace operation to find the place again later. For SearchPlaceIndexForPosition operations, the PlaceId is returned only by place indexes that use HERE or Grab as a data provider.

    *)
}
Sourceval make : ?place:??? -> ?distance:??? -> ?placeId:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Double of SearchForPositionResultDistanceDouble.t | `String of PlaceId.t | `Structure of (string * [> `Boolean of SensitiveBoolean.t | `List of [> `String of PlaceCategory.t ] list | `String of SensitiveString.t | `Structure of (string * [> `Integer of SensitiveInteger.t | `List of [> `Double of Double.t ] list | `String of SensitiveString.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