代表位置的容器。
JSON 表示法 | |
---|---|
{ "coordinates": { object ( |
欄位 | |
---|---|
coordinates |
地理座標。必須具備 |
formattedAddress |
顯示地址,例如「110 臺北市信義區信義路五段 7 號」。必須具備 |
zipCode |
郵遞區號。必須具備 |
city |
城市。必須具備 |
postalAddress |
郵政地址。必須具備 |
name |
地點的名稱。 |
phoneNumber |
地點的電話號碼,例如商家所在地點的聯絡電話或電話號碼 (送貨地點)。 |
notes |
地點附註。 |
placeId |
placeId 搭配 Places API 使用,以擷取地點的詳細資料。詳情請參閱 https://developers.google.com/places/web-service/place-id |
LatLng
表示經緯度組合的物件。這個物件會同時指出經度和緯度的度數;除非另有說明,否則必須符合 WGS84 標準。此外,值必須在正規化範圍內。
JSON 表示法 | |
---|---|
{ "latitude": number, "longitude": number } |
欄位 | |
---|---|
latitude |
緯度度數,必須介於 [-90.0, +90.0] 的範圍之間。 |
longitude |
經度度數,必須介於 [-180.0, +180.0] 的範圍之間。 |