如何从经度和纬度的Andr​​oid获得的地址? [英] How to get address from latitude and longitude android?

查看:82
本文介绍了如何从经度和纬度的Andr​​oid获得的地址?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个应用程序,将得到纬度和用户位置的经度。我需要知道的是我怎么拿纬度和位置的经度,并转换成刚的用户?

I have an application that will get the latitude and the longitude of the users location. What I need to know is how do I take the latitude and the longitude of the location and convert it into just the address of the user?

感谢您的帮助。

推荐答案

您可以使用地理编码。遵循此链接它说:地理编码和反向地理编码

You can use GeoCoding. Follow the instructions on this link where it says Geocoding and Reverse Geocoding

您可以找到code那里,你可以尝试一下在自己的应用程序(复制/粘贴)

You can find code there that you can try it out on your own app (copy/paste)

我希望它能帮助:)

这篇关于如何从经度和纬度的Andr​​oid获得的地址?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆