根据经纬度计算两地距离
程序员文章站
2022-04-29 15:59:48
...
跳至
39.92, 'long' => 116.46 ); $point2 = array( 'lat' => 24.51, 'long' => 117.658 ); $distance = getDistanceBetweenPointsNew($point1['lat'], $point1['long'], $point2['lat'], $point2['long']); print_r($distance); ?>
上一篇: PHP的词法解析器:re2c
下一篇: ob系列函数输出缓存用法详解