lengthToDegrees

fun lengthToDegrees(distance: Double, units: Units = Units.Kilometers): Double

Convert a distance measurement (assuming a spherical Earth) from a real-world unit into degrees.

Return

Degrees

Parameters

distance

Distance in real units

Throws

if the given units are invalid