Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • rails-geocoder
  • rails2
  • v1.5.1
  • v1.5.0
  • v1.4.9
  • v1.4.8
  • v1.4.7
  • v1.4.6
  • v1.4.5
  • remove
  • v1.4.4
  • v1.4.3
  • v1.4.2
  • v1.4.1
  • v1.4.0
  • v1.3.7
  • v1.3.6
  • v1.3.5
  • v1.3.4
  • v1.3.3
  • v1.3.2
  • v1.3.1
23 results
You can move around the graph by using the arrow keys.
Created with Raphaël 2.2.025Mar2422211817161513121110987654317Feb14843126Jan24211816Dec26Nov23315Oct145415Sep72Aug22Jun212035May430Apr231Mar11Feb107Dec24Nov4327Oct26231286130Sep21328Aug117Jul24May2323Apr21171615Rename method and move to Calculations module.Add distance test in km.Simplify: only one method call needed.Shorten method names.Calculate kilometer distances when specified.Add approximate distance/bearing calculations.Add calculations for distances btwn lat/lon lines.Add to_miles and to_kilometers methods.Move comment to more relevant position.Fix issue #40: bug in blank query detection.Re-categorize some tests.Change second nearbys method to options hash.Add :linear method for bearing calculation.Change format of option lists in code comments.Move numeric values to constants.Clean up code comments.Extend to_degrees to convert an entire array.Convert bearing to degrees CW from North.Fix bug in dlon calculation.Extend to_radians to convert an entire array.Make bearing calculation Postgres-compatible.Use abbreviated method name and regex.Add units argument to earth_radius.Add non-trivial distance_between test.Rename duplicately-named test.Adjust Earth's radius based on Wikipedia.Move Earth's radius to separate method.Simplify bearing-related code.Adds methods for calculating the bearing between two points and for converting that bearing into a compass point, e.g. North or South West. If you want fewer or additional compass points (e.g. South By South West, or just NESW) provide a second parameter containing your array of points, e.g. Geocoder::Calculations::compass_point(90,['north','east','south','west'])Add option "bearing". When set to :line or :spherical it returns the bearing of the record from the search point, i.e. if the record is due north you'll see 0.0 returned. :line is a straight line, :spherical is the shortest path where the bearing between two points varies with distance to take into account curvature of the planet.Remove deprecation warnings.Add deprecation warnings.Make Geocoder.search return an array of results.Detect when search string is actually coordinates.Add sanity checks.Use more sophisticated city detection with Google.Deprecate yahoo_app_id in favor of api_key.Refactor: define config methods dynamically.Add Google API key config option.Add :use_https config option.
Loading