LocationDegrees
extension LocationDegrees
-
Returns the direction in radians.
This method is equivalent to the
degreesToRadians
method of the turf-helpers package of Turf.js (source code).Declaration
Swift
public func toRadians() -> LocationRadians
-
Returns the direction in degrees.
This method is equivalent to the
radiansToDegrees
method of the turf-helpers package of Turf.js (source code).Declaration
Swift
public func toDegrees() -> LocationDirection