AI-generated Key Takeaways
-
The Geo data of a location includes latitude, longitude, and address, represented in JSON format.
-
Address can be provided in a structured format using
address
field (PostalAddress object) or an unstructured format usingunstructuredAddress
field (string). -
Latitude and longitude are represented as numbers in degrees and are optional fields within the Geo data.
The Geo data of a location, including latitude, longitude, and address.
JSON representation |
---|
{ "latitude": number, "longitude": number, // Union field |
Fields | |
---|---|
latitude |
Latitude in degrees. (optional) |
longitude |
Longitude in degrees. (optional) |
Union field addresses . Address for a location, could either be structured or unstructured. addresses can be only one of the following: |
|
address |
Postal address of the location, preferred. |
unstructured |
An unstructured address could also be provided as a fallback. E.g. "1600 amphitheatre parkway mountain view, ca 94043" |