问题
How do it get postal code value for a location if i have Latitude and Longitude values of that location
回答1:
I think you can use getPostalCode() for this.
Geocoder geo = new Geocoder(getApplicationContext(),
Locale.getDefault());
List<Address> add;
try {
add = geo.getFromLocation(taplat, taplon, 1);
addstr = add.get(0).getPostalCode(); //u'll get postal code in addstr
}
来源:https://stackoverflow.com/questions/6965162/google-maps-pincode-latitude-longitude