我想计算的Android使用谷歌地图之间的两个地图点的距离。我用了两个纬度长期价值,把两个脚的地图,也能够得出两点间的路径。 现在,如何计算距离的路,我已经得出? 请任何机构的帮助!
I am trying to calculate the distance between two map point using Google Map in android. I have used two lat long value to put two map pin and also able to draw a route between two points. Now how to calculate distance of the path that i have drawn? Please any body help!
感谢和放大器;商祺!
您可能需要使用的谷歌路线API 已知两个GPS位置之间的实际距离。如果你想在鸦飞的距离,谢赫的答案是完美的。
You probably want to use the Google Directions API to known the real distances between two GPS locations. If you want the "crow-fly" distance, Sheikh's answer is perfect.
上一篇:是否可以指定在Windows Azure上的时区?时区、Windows、Azure
下一篇:安卓定制的GridView布局(TextView中使用ImageView的顶部)布局、GridView、ImageView、TextView