module Geocoder::Store::Base

def bearing_from(point, options = {})


ways of specifying the point.
See Geocoder::Calculations.distance_between for
Calculate the bearing from another point to the object.
#
def bearing_from(point, options = {})
  options[:method] ||= self.class.geocoder_options[:method]
  return nil unless geocoded?
  Geocoder::Calculations.bearing_between(
    point, to_coordinates, options)
end