根据任意两点地图坐标算出距离是多少
摘要:
1 private static double rads(double d) 2 { 3 return d*Math.PI/180.0; 4 } 5 6 private const double EarihRadius = 6378.137; 7 8 private static double GetDistances(double lat1, double lng1, double lat2, double lng2) 9 {10 var radLat1 =... 阅读全文
posted @ 2013-07-05 14:38 SonyXbox 阅读(422) 评论(0) 推荐(0) 编辑