蹒跚走路的程序猿

2013年8月21日

Android google map 两点之间的距离

摘要: 在Android google map中,有时候会碰到计算两地的距离,下面的辅助类就可以帮助你计算距离: 1 public class DistanceHelper { 2 /** Names for the units to use */ 3 public final static int KILOMETERS = 0; 4 public final static int STATUTE_MILES = 1; 5 public final static int NAUTICAL_MILES = 2; 6 7 /** Radius of the Ea... 阅读全文

posted @ 2013-08-21 21:49 蹒跚走路的程序猿 阅读(766) 评论(0) 推荐(0) 编辑

导航