SPGooglePlacesAutocomplete icon indicating copy to clipboard operation
SPGooglePlacesAutocomplete copied to clipboard

How to get dictionary address

Open paoloandrea opened this issue 12 years ago • 1 comments

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 } ] }, {

paoloandrea avatar Feb 11 '13 11:02 paoloandrea

http://www.w3docs.com/learn-javascript/places-autocomplete.html

Hazarapet avatar Feb 12 '15 17:02 Hazarapet