开发者

How to calculate distance between two GeoPoints with Android MapView

I want to know the distance of two points or the width and height开发者_如何学C distance of my current mapview in km unit. Is there any android map api to do that?


This is not Map API, but the Android SDK's Location class has methods like

distanceBetween

and

distanceTo

Check them out here

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜