緯度方向上:(經度和緯度一米和度的轉換是不同的,因為同樣是360度,但是半徑是不同的)
var degree = 2*Math.PI*Math.cos(2*Math.PI/360*lat)*6378140/360;
degree2 = (1/degree)*r;(r為距離米)
https://blog.csdn.net/wwyy22/article/details/84692612
大致估計:(把地球當一個標准的球)
https://www.giserdqy.com/algorithm/4916/
1米=0.0000089932度
https://blog.csdn.net/u012539364/article/details/74059679/
每個點的經度周長相同。。但是不同緯度的緯度周長卻不同。。那怎么辦呢
>>給你兩個經緯度坐標,計算他們之間的距離:https://www.cnblogs.com/0201zcr/p/4673924.html