iOS Question Text Field with Google Maps Autocomplete

mauro vicamini

Active Member
Licensed User
Longtime User
Hi Everyone,
I need some hints on how to build a TextField with the Autocomplete of Google Maps for searching addresses , without using Webview.
Is it possible?

Thanks
 
You can use SearchView to implement an autocomplete field. However it will not work with an online web service.
I've resolved using a TextField and a TableView and calling the Google webservice (https://maps.googleapis.com/maps/api/place/autocomplete/json?key=<API KEY>&language=it&components=country:it&types=address&input=<what to search>) on the changing of the text in the text field and populating the TableView with the result.
 
Upvote 0
Back
Top