标签: php haversine
我正在使用google api
"https://maps.googleapis.com/maps/api/directions/json?origin=" . $prev_lat . "," . $prev_long . "&destination=" . $currentlat . "," . $currentlong . "&sensor=false&mode=driving&alternatives=true"
计算两点之间的距离。但我没有得到准确的距离 请帮我解决这个问题