Module Values.ReverseGeocodeResultItemSource

The returned location from the Reverse Geocode action.

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

    The PlaceId of the place you wish to receive the information for.

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

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

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

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

    *)
  4. address : Address.t option;
    (*

    The place's address.

    *)
  5. addressNumberCorrected : SensitiveBoolean.t option;
    (*

    Boolean indicating if the address provided has been corrected. Not available in ap-southeast-1 and ap-southeast-5 regions for GrabMaps customers.

    *)
  6. postalCodeDetails : PostalCodeDetailsList.t option;
    (*

    Contains details about the postal code of the place/result. Not available in ap-southeast-1 and ap-southeast-5 regions for GrabMaps customers.

    *)
  7. position : Position.t option;
    (*

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

    *)
  8. distance : DistanceMeters.t option;
    (*

    The distance in meters from the QueryPosition.

    *)
  9. mapView : BoundingBox.t option;
    (*

    The bounding box enclosing the geometric shape (area or line) that an individual result covers. The bounding box formed is defined as a set 4 coordinates: [{westward lng}, {southern lat}, {eastward lng}, {northern lat}]

    *)
  10. categories : CategoryList.t option;
    (*

    Categories of results that results must belong to.

    *)
  11. foodTypes : FoodTypeList.t option;
    (*

    List of food types offered by this result. Not available in ap-southeast-1 and ap-southeast-5 regions for GrabMaps customers.

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

    Position of the access point in World Geodetic System (WGS 84) format: [longitude, latitude]. Not available in ap-southeast-1 and ap-southeast-5 regions for GrabMaps customers.

    *)
  13. timeZone : TimeZone.t option;
    (*

    The time zone in which the place is located.

    *)
  14. politicalView : CountryCode3.t option;
    (*

    The alpha-2 or alpha-3 character code for the political view of a country. The political view applies to the results of the request to represent unresolved territorial claims through the point of view of the specified country. Not available in ap-southeast-1 and ap-southeast-5 regions for GrabMaps customers.

    *)
  15. intersections : IntersectionList.t option;
    (*

    All Intersections that are near the provided address. Not available in ap-southeast-1 and ap-southeast-5 regions for GrabMaps customers.

    *)
}
Sourceval make : ?placeId:??? -> ?placeType:??? -> ?title:??? -> ?address:??? -> ?addressNumberCorrected:??? -> ?postalCodeDetails:??? -> ?position:??? -> ?distance:??? -> ?mapView:??? -> ?categories:??? -> ?foodTypes:??? -> ?accessPoints:??? -> ?timeZone:??? -> ?politicalView:??? -> ?intersections:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of SensitiveBoolean.t | `Enum of string | `List of [> `Double of Double.t | `Structure of (string * [> `Boolean of SensitiveBoolean.t | `Enum of string | `List of [> `Double of Double.t | `Structure of (string * [> `List of [> `Double of Double.t ] list ]) list ] list | `Long of DistanceMeters.t | `String of PostalCodeDetailsPostalCodeString.t | `Structure of (string * [> `Enum 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 ] list | `Long of DistanceMeters.t | `String of ReverseGeocodeResultItemPlaceIdString.t | `Structure of (string * [> `List of [> `String of IntersectionStreet.t | `Structure of (string * [> `Enum of string | `String of StreetComponentsBaseNameString.t ]) list ] list | `Long of TimeZoneOffsetSecondsLong.t | `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