Container that represents a location.
JSON representation | |
---|---|
{ "coordinates": { object ( |
Fields | |
---|---|
coordinates |
Geo coordinates. Requires the |
formattedAddress |
Display address, e.g., "1600 Amphitheatre Pkwy, Mountain View, CA 94043". Requires the |
zipCode |
Zip code. Requires the |
city |
city. Requires the |
postalAddress |
Postal address. Requires the |
name |
name of the place. |
phoneNumber |
Phone number of the location, e.g. contact number of business location or phone number for delivery location. |
notes |
Notes about the location. |
placeId |
placeId is used with Places API to fetch details of a place. See https://developers.google.com/places/web-service/place-id |
LatLng
An object representing a latitude/longitude pair. This is expressed as a pair of doubles representing degrees latitude and degrees longitude. Unless specified otherwise, this must conform to the WGS84 standard. Values must be within normalized ranges.
JSON representation | |
---|---|
{ "latitude": number, "longitude": number } |
Fields | |
---|---|
latitude |
The latitude in degrees. It must be in the range [-90.0, +90.0]. |
longitude |
The longitude in degrees. It must be in the range [-180.0, +180.0]. |