Values.ReverseGeocodeResultItemSourceThe returned location from the Reverse Geocode action.
type nonrec t = {placeId : ReverseGeocodeResultItemPlaceIdString.t option;The PlaceId of the place you wish to receive the information for.
*)placeType : PlaceType.t option;A PlaceType is a category that the result place must belong to.
*)title : ReverseGeocodeResultItemTitleString.t option;The localized display name of this result item based on request parameter language.
*)address : Address.t option;The place's address.
*)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.
*)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.
*)position : Position.t option;The position in World Geodetic System (WGS 84) format: [longitude, latitude].
*)distance : DistanceMeters.t option;The distance in meters from the QueryPosition.
*)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}]
*)categories : CategoryList.t option;Categories of results that results must belong to.
*)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.
*)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.
*)timeZone : TimeZone.t option;The time zone in which the place is located.
*)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.
*)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.
*)}val make :
?placeId:??? ->
?placeType:??? ->
?title:??? ->
?address:??? ->
?addressNumberCorrected:??? ->
?postalCodeDetails:??? ->
?position:??? ->
?distance:??? ->
?mapView:??? ->
?categories:??? ->
?foodTypes:??? ->
?accessPoints:??? ->
?timeZone:??? ->
?politicalView:??? ->
?intersections:??? ->
unit ->
tval 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 ]