Failed to load latest commit information. README.md Geocoder Geocoder is a complete geocoding solution for Ruby. With Rails it adds geocoding (by street or IP address), reverse geocoding (find street address based on given coordinates), and distance queries. It's as simple as callinggeocodeon...
# config/initializers/geocoder.rb Geocoder.configure( # street address geocoding service (default :nominatim) lookup: :yandex, # IP address geocoding service (default :ipinfo_io) ip_lookup: :maxmind, # to use an API key: api_key: "...", # geocoding service request timeout, in seconds ...
Geocoder adds location and safe_location methods to the standard Rack::Request object so you can easily look up the location of any HTTP request by IP address. For example, in a Rails controller or a Sinatra app:# returns Geocoder::Result object result = request.location ...
Failed to load latest commit information. README.md Geocoder Geocoder is a complete geocoding solution for Ruby. With Rails it adds geocoding (by street or IP address), reverse geocoding (find street address based on given coordinates), and distance queries. It's as simple as callinggeocodeon...
Geocoder adds a location method to the standard Rack::Request object so you can easily look up the location of any HTTP request by IP address. For example, in a Rails controller or a Sinatra app:# returns Geocoder::Result object result = request.location ...
Request Geocoding by IP AddressGeocoder adds location and safe_location methods to the standard Rack::Request object so you can easily look up the location of any HTTP request by IP address. For example, in a Rails controller or a Sinatra app:...
Files Failed to load latest commit information. Type Name Latest commit message Commit time bin examples gemfiles lib test .gitignore .travis.yml CHANGELOG.md Gemfile LICENSE README.md Rakefile geocoder.gemspec init.rb READ...
Request Geocoding by IP AddressGeocoder adds location and safe_location methods to the standard Rack::Request object so you can easily look up the location of any HTTP request by IP address. For example, in a Rails controller or a Sinatra app:...
Geocoder adds location and safe_location methods to the standard Rack::Request object so you can easily look up the location of any HTTP request by IP address. For example, in a Rails controller or a Sinatra app:# returns Geocoder::Result object result = request.location...
# config/initializers/geocoder.rb Geocoder.configure( # street address geocoding service (default :nominatim) lookup: :yandex, # IP address geocoding service (default :ipinfo_io) ip_lookup: :maxmind, # to use an API key: api_key: "...", # geocoding service request timeout, in seconds ...