安卓:我如何才能找到只使用PIN code的位置? [英] Android : How can I find location using just PINCODE?

查看:135
本文介绍了安卓:我如何才能找到只使用PIN code的位置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用PIN code / ZIP code前获得位置:560001(班加罗尔针code)。我正在逐渐的位置,当我输入地址,州和放​​大器;国,但无法获得使用针code / ZIP code。它显示地址不详。我们才能找到地方使用PIN code ??

I am trying to get location using PINCODE/ZIPCODE ex:560001 (Bangalore pincode).I am getting the location when I enter the ADDRESS , STATE & COUNTRY, but unable to get using pincode/zipcode. It displays UNKNOWN address.. can we find LOCATION using PINCODE ??

推荐答案

您可以找到使用任何一件地址信息,但在准确的成本位置(经度,纬度)。 现在很明显,你可以有一个纬度长分别对应于 国家,州,城市,邮编,地址等,每个会越来越精确,您使用的详细信息。

You can find a location (latitude, longitude) using any piece of address information but at the cost of accuracy. Now obviously you can have a lat long corresponding individually to a country, state, city, zip , address, etc and each will be more and more accurate, the more information you use.

说了这么多,它的GPS应用程序,您使用的和做什么?

Having said that, which GPS app are you using and to do what?

如果该任务是找到说的餐馆,提供针code应该是足够的。

If the task is to find say restaurants, providing pincode should be enough.

但如果你想要的路线从A点到B点,提供目的地针code将是很难用它不会针指向你的确切位置。

but if you want to route from point A to point B , providing destination pincode will be hardly useful it wont pin point your exact location.

更新

您可以找到喜欢的餐馆兴趣点,银行等,你可以使用谷歌的地方API。您可以通过只提供引脚code搜索。请参考以下文件:

You can find points of interest like restaurants, banks etc, you can use google places api. You can search by just providing the pin code. refer to the following documentation:

https://developers.google.com/maps/documentation/places/# PlaceSearches

这篇关于安卓:我如何才能找到只使用PIN code的位置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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