]> git.openstreetmap.org Git - rails.git/blobdiff - lib/geo_record.rb
Use user factory for application_helper tests.
[rails.git] / lib / geo_record.rb
index 61185a314397b6661def0043dbc6f759a5d94c00..09ced972930cc8289ff9b7d76e80a119cca33810 100644 (file)
@@ -38,10 +38,4 @@ module GeoRecord
   def lon
     longitude.to_f / SCALE
   end
-
-  private
-
-  def lat2y(a)
-    180 / Math::PI * Math.log(Math.tan(Math::PI / 4 + a * (Math::PI / 180) / 2))
-  end
 end