0

I have a position at 10.792986, 106.670004. How to get FULL address like as :

207 Lê Văn Sỹ, 14, Phú Nhuận Hồ Chí Minh, Vietnam

If using Geocoder, I couldn't get Full Adress.

List<Address> addresses = null;
        String addressText="";

        try {
            addresses = geocoder.getFromLocation(latitude, longitude,1);
        } catch (IOException e) {
            e.printStackTrace();
        }

So, is there any way to use Gooogle Play Service ( ex: GoogleApiClient) to get full address from lat /lng Or get placeId from lat/lng.

I mean, what is Android Api class for Reverse Geocoding for a Latitude/Longitude

Son Nguyen Thanh
  • 1,199
  • 15
  • 19

1 Answers1

1

Have you try with googleapis.com, geocode get location from lat an lng

simply try to pass your lat and long to the following query string, and you will get a json array, fetch your city from there

http://maps.googleapis.com/maps/api/geocode/json?latlng=10.792986,106.670004&sensor=true

HoangHieu
  • 2,802
  • 3
  • 28
  • 44