LocationDegrees
extension LocationDegrees
-
Returns the direction in radians.
This method is equivalent to the
degreesToRadiansmethod 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
radiansToDegreesmethod of the turf-helpers package of Turf.js (source code).Declaration
Swift
public func toDegrees() -> LocationDirection
View on GitHub
Install in Dash
LocationDegrees Extension Reference