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