Module Values.RelatedPlaceSource

Place that is related to the result item.

Sourcetype nonrec t = {
  1. placeId : RelatedPlacePlaceIdString.t option;
    (*

    The PlaceId of the place result.

    *)
  2. placeType : PlaceType.t option;
    (*

    A PlaceType is a category that the result place must belong to.

    *)
  3. title : RelatedPlaceTitleString.t option;
    (*

    The localized display name of this result item based on request parameter language.

    *)
  4. address : Address.t option;
  5. position : Position.t option;
    (*

    The position in World Geodetic System (WGS 84) format: [longitude, latitude].

    *)
  6. accessPoints : AccessPointList.t option;
    (*

    Position of the access point in World Geodetic System (WGS 84) format: [longitude, latitude].

    *)
}
Sourceval make : ?placeId:??? -> ?placeType:??? -> ?title:??? -> ?address:??? -> ?position:??? -> ?accessPoints:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Double of Double.t | `Structure of (string * [> `List of [> `Double of Double.t ] list ]) list ] list | `String of RelatedPlacePlaceIdString.t | `Structure of (string * [> `List of [> `String of IntersectionStreet.t | `Structure of (string * [> `Enum of string | `String of StreetComponentsBaseNameString.t ]) list ] list | `String of AddressLabelString.t | `Structure of (string * [> `String of CountryCode2.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