DaniloArg
Member
Hi guys. I am new in b4a.
Testing the Erel example for google api autocomplete app, I found that many valid addresses are not found by this api. The code:
Dim country As String = "country:"&Main.glb_default_country
j.Download2("https://maps.googleapis.com/maps/api/place/autocomplete/json", _
Array As String("input",New,"language","es","components",country,"types","address","key",GoogleApiKey))
but I can't find the error in usage of this api. Question: Could it be that I use the constraints on the array incorrectly and that's why it doesn't find many addresses? Thanks in advance
Testing the Erel example for google api autocomplete app, I found that many valid addresses are not found by this api. The code:
Dim country As String = "country:"&Main.glb_default_country
j.Download2("https://maps.googleapis.com/maps/api/place/autocomplete/json", _
Array As String("input",New,"language","es","components",country,"types","address","key",GoogleApiKey))
but I can't find the error in usage of this api. Question: Could it be that I use the constraints on the array incorrectly and that's why it doesn't find many addresses? Thanks in advance