摘要:
// 由经纬度计算两点距离privatefinaldoubleEARTH_RADIUS= 6378137.0;privatedoublegps2m(doublelat_a,doublelng_a,doublelat_b,doublelng_b) {doubleradLat1 = (lat_a * Math.PI/ 180.0);doubleradLat2 = (lat_b * Math.PI/ 180.0);doublea = radLat1 - radLat2;doubleb = (lng_a - lng_b) * Math.PI/ 180.0;doubles = 2 * Math.asi. 阅读全文