TRAutocompleteView
TRAutocompleteView copied to clipboard
Any way to get latitude/longitude of the suggested places?
Currently seems like all it saves is the name of the place. Any way to get more detail like latitude and longitude?
Yer, sure, take a loot at src/TRGoogleMapsAutocompleteItemsSource.m you can customize it for your needs as you wish (e.g. save any additional info google returns)
Hi Taras, thanks for this awesome library.
I'm using it in a personal project, and i'm also trying to obtain latitude/longitud.
i saw the dictionary returned by Google, however the only data that i see its this :
http://pastebin.com/vqhdQaYb
No latitude/longitud.
I'm doing something wrong?
Thanks.
I am not sure, but I think you should not use Google Autocomplete. The better way to add Google Geocoding (reverse Geocoding) for translating your String address to Lat/Lon coordinates.