Method: Geocoder::Calculations#radians_to_distance

Defined in:
lib/geocoder/calculations.rb

#radians_to_distance(radians, units = nil) ⇒ Object



323
324
325
# File 'lib/geocoder/calculations.rb', line 323

def radians_to_distance(radians, units = nil)
  radians * earth_radius(units)
end