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.....
Longitude is expressed as -180 degrees (-pi radians) to 180 degrees (pi radians) with 0 degrees centered at the prime meridian. Latitude is expressed as -90 degrees (-pi/2 radians) to 90 degrees (pi/2 radians) with respect to the equator.
To convert the value of the angle in degree, to its equivalent radians, we need to multiply the given value with π/180. For example, the value of 180 degrees is π in radians.
Trigonometry Examples To convert degrees to radians, multiply by π180° π 180 ° , since a full circle is 360° or 2π radians.
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
and on the inverse,
Degrees = Radians * 180 / PI
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With