Android Question some address not found autocomplete google api b4a

DaniloArg

New 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
 

DaniloArg

New Member
Hi Erel. I think my problem has to do with place names having accents and other special characters. My question now is can the api be configured to ignore accents in search predictions? Have you ever done it? Example: <components> or something similar. Thanks Erel.
 
Upvote 0
Top