GeoCoordinates
The Geo data of a location, including latitude, longitude, and address.
JSON representation |
{
"latitude": number,
"longitude": number,
// Union field addresses can be only one of the following:
"address": {
object (PostalAddress )
},
"unstructuredAddress": string
// End of list of possible types for union field addresses .
} |
Fields |
latitude |
number
Latitude in degrees. (optional)
|
longitude |
number
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 |
object (PostalAddress )
Postal address of the location, preferred.
|
unstructuredAddress |
string
An unstructured address could also be provided as a fallback. E.g. "1600 amphitheatre parkway mountain view, ca 94043"
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-17 UTC.
[null,null,["Last updated 2024-10-17 UTC."],[[["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 using `unstructuredAddress` field (string)."],["Latitude and longitude are represented as numbers in degrees and are optional fields within the Geo data."]]],[]]