摘要: <?php /** * @desc 根据两点间的经纬度计算距离 * @param float $lat 纬度值 * @param float $lng 经度值 */ function getDistance($lat1, $lng1, $lat2, $lng2) { $earthRadius = 6367000; //approximate radius of earth ... 阅读全文
posted @ 2017-01-05 10:45 骏码信息 阅读(475) 评论(0) 推荐(0) 编辑