GeoDistance.fromDegrees constructor

GeoDistance.fromDegrees(
  1. double degrees
)

Create a distance from degrees

Implementation

GeoDistance.fromDegrees(double degrees) : radians = degrees * _radiansPerDegree;