Module Values.IntersectionSource

All Intersections that are near the provided address.

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

    The PlaceId of the place result.

    *)
  2. title : IntersectionTitleString.t option;
    (*

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

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

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

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

    The distance in meters from the QueryPosition.

    *)
  6. routeDistance : DistanceMeters.t option;
    (*

    The distance from the routing position of the nearby address to the street result.

    *)
  7. 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 of four coordinates: [{westward lng}, {southern lat}, {eastward lng}, {northern lat}]

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

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

    *)
}
Sourceval make : ?placeId:??? -> ?title:??? -> ?address:??? -> ?position:??? -> ?distance:??? -> ?routeDistance:??? -> ?mapView:??? -> ?accessPoints:??? -> unit -> t
Sourceval to_value : t -> [> `Structure 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 IntersectionPlaceIdString.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