Skip to content

Commit

Permalink
Update mappable.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
danielvdao authored Jun 5, 2023
1 parent 8c921fd commit 97076e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/geokit/mappable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def math_error_classes
end

# Returns heading in degrees (0 is north, 90 is east, 180 is south, etc)
# from the first point to the second point. Typicaly, the instance methods
# from the first point to the second point. Typically, the instance methods
# will be used instead of this method.
def heading_between(from, to)
from = Geokit::LatLng.normalize(from)
Expand Down Expand Up @@ -171,7 +171,7 @@ def self.register_unit(key, in_meters)
register_unit :nms, 0.0005400722448725917

# Returns the multiplier used to obtain the correct distance units.
# TODO: make more accurate by coping
# TODO: make more accurate by copying
# http://msi.nga.mil/MSISiteContent/StaticFiles/Calculators/degree.html
def units_sphere_multiplier(units)
EARTH_RADIUS[units]
Expand Down

0 comments on commit 97076e4

Please sign in to comment.