Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在谷歌地图中,我可以得到我触摸过的点的纬度和经度。现在我怎样才能得到纬度和经度的地址(反向地理编码)。
List<Address> addresses = null; try { Locale mLocale = new Locale("en"); Geocoder gCoder = new Geocoder(context , mLocale); addresses = gCoder.getFromLocation(lat, lng, 1); Address addr = addresses.get(0); ... ... .. } catch (Exception e) { }
地理编码器