地點的地址。
JSON 表示法 |
---|
{ "formattedAddress": { object ( |
欄位 | |
---|---|
formattedAddress |
這個地點的完整清楚易懂地址。 |
addressComponents[] |
地址元件清單。 |
FormattedAddress
清楚易懂的完整地址,適用於包含此訊息的實體。
JSON 表示法 |
---|
{ "lines": [ string ] } |
欄位 | |
---|---|
lines[] |
描述地址的文字行。至少要有一行。 |
AddressComponent
地址元件,用來描述地址的一部分。
JSON 表示法 |
---|
{ "componentText": string, "componentTextShortForm": string, "types": [ string ] } |
欄位 | |
---|---|
componentText |
這個元件名稱,用來說明地址的一部分。例如「加州」、「Amphitheatre Parkway」。 |
componentTextShortForm |
元件文字的簡短格式。例如「CA」代表「加州」,「US」代表「美國」。 |
types[] |
這個元件類型,用來說明地址的一部分。如需支援的類型的清單,請參閱 https://developers.google.com/places/web-service/supported_types#table2 |