Given point of (latitude,longitude), distance and bearing, How to get the new latitude and longitude

前端 未结 2 619
借酒劲吻你
借酒劲吻你 2021-01-19 12:38

I found a piece of code on web. It calculates the Minimum bounding rectangle by a given lat/lon point and a distance.

private static void GetlatLon(double LA         


        
2条回答
  •  灰色年华
    2021-01-19 13:29

    I assume 6356725 has something to do with the radius of the earth. Check out this answer, and also take a look at the Haversine Formula.

提交回复
热议问题