问题
I am building an application using google autocomplete Places API. If I use the predictive suggestion for the address "Pongal, New York, NY, United States", I get following items in the return place object:
locality: Manhattan
administrative_area_level_2: New York
administrative_area_level_1: New York
As per documentation of google Places at: https://developers.google.com/maps/documentation/geocoding/ For US, locality can be used to fetch the city or town and *administrative_area_level_1* can be used for State.
So, I get New York as state and Manhattan as city which is wrong since Manhattan is not the city, the city for this address is New York
May be I am asking too much from Google. But, Really appreciate any help on this since it breaks my system in later stages or Please correct me if I am doing something wrong.
Google Maps address link under the scanner: http://maps.google.com/maps?q=Pongal,+New+York,+NY,+United+States&hl=en&ll=40.748492,-73.976612&spn=0.017947,0.042014&sll=37.0625,-95.677068&sspn=38.365962,86.044922&oq=pongal&hq=Pongal,+New+York,+NY,+United+States&t=m&z=15&iwloc=A
来源:https://stackoverflow.com/questions/10118268/google-places-returns-wrong-city