4
如何強制Google Place API的自動填充功能完成帶有郵政編碼的textView?Google Place API - 自動完成 - 如何獲取ZIP代碼?
我已經使用這個鏈接嘗試:
https://maps.googleapis.com/maps/api/place/autocomplete/json?input=20&types=postal_code&language=de&sensor=false&key=myKey
獲得郵政編碼開始與20,但它不工作。 我有以下來自服務器的性反應:
{
"predictions" : [],
"status" : "INVALID_REQUEST"
}
我怎樣才能使作品>
謝謝,但是你有一個工作解決方案很熱,只用AutoCompleteTextView和Google Places API檢索郵政編碼嗎? – hipek