地點的地址。
JSON 表示法 |
---|
{ "formattedAddress": { object ( |
欄位 | |
---|---|
formattedAddress |
這個地點的完整、人類可讀的地址。 |
addressComponents[] |
地址元件清單。 |
FormattedAddress
一般且使用者可理解的完整地址,適用於包含這則訊息的實體。
JSON 表示法 |
---|
{ "lines": [ string ] } |
欄位 | |
---|---|
lines[] |
描述地址的文字行。至少必須使用一行。 |
AddressComponent
用來描述地址的某個部分的地址元件。
JSON 表示法 |
---|
{ "componentText": string, "componentTextShortForm": string, "types": [ string ] } |
欄位 | |
---|---|
componentText |
這個元件名稱會說明部分地址。範例包括「加州」、「安非他命山」 |
componentTextShortForm |
元件文字的簡短格式。例如「CA」代表「加州」,「US」代表「美國」。 |
types[] |
此元件的類型,用於描述地址的部分內容。如需支援的類型清單,請參閱 https://developers.google.com/places/web-service/supported_types#table2 |