2 # These defaults are used in GeoKit::Mappable.distance_to and in acts_as_mappable
3 @@default_units = :miles
4 @@default_formula = :sphere
6 [:default_units, :default_formula].each do |sym|
7 class_eval <<-EOS, __FILE__, __LINE__
9 if defined?(#{sym.to_s.upcase})