本文介绍了转换纬度/经度为度/弧度?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我该如何转换以度/弧度为单位的经度和纬度?你们有什么公式或想法吗?我想在MapKit上显示它.谢谢....
How can i convert Latitude and longitude in degree/radians?Do you guys any formula or any idea?I want to show it on MapKit.Thanks.....
推荐答案
由于纬度和经度以度为单位,因此您可以使用以下公式将其转换为弧度,然后再转换为度:
Since Latitude and Longitude are measured in degrees, you can use the following formula to convert to radians, and back to degrees:
Radians = Degrees * PI / 180
反之,
Degrees = Radians * 180 / PI
这篇关于转换纬度/经度为度/弧度?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!