SPGooglePlacesAutocomplete
SPGooglePlacesAutocomplete copied to clipboard
How to get dictionary address
Hi, thank's for yours work. I use it but and i've a question: How to obtain the address dictionary and not the string in the tableview?
I want get results the "terms" in google API to autocomplete the address like
Address City - Country.
THZ
https://developers.google.com/places/documentation/autocomplete?hl=it -- SAMPLE JSON GOOGLE -- { "status": "OK", "predictions": [ { "description": "Paris, France", "id" : "691b237b0322f28988f3ce03e321ff72a12167fd", "reference": "CiQYAAAA0Q_JA...kT3ufVLDDvTQsOwZ_tc", "terms": [ { "value": "Paris", "offset": 0 }, { "value": "France", "offset": 7 } ], "types": [ "geocode" ], "matched_substrings": [ { "offset": 0, "length": 5 } ] }, {
http://www.w3docs.com/learn-javascript/places-autocomplete.html