IPhone : Get EN,IT,FR,DE,ES Localized City name from google api

on Monday, March 30, 2015

In my ios app i'm using this call to get an autocomplete function



https://maps.googleapis.com/maps/api/place/autocomplete/json?input=%@&types=(cities)&key=%s


After that i use another call to retrive details of a place starting by his placeid:



https://maps.googleapis.com/maps/api/place/details/json?placeid=%@&key=%s&language=en&oe=utf8


Now i need to store in my app the city name in localized format (english,italian,french,spanish). I think that i can made a localized place-detail each language i wanna support but i would like to retrive this information with the minimum number of requests. There's a way to get all the localized name of a city starting by his placeid?


0 comments:

Post a Comment