Skip to content
Snippets Groups Projects
Commit 1f6ba96d authored by Alex Reisner's avatar Alex Reisner
Browse files

Merge branch 'master' of git://github.com/tomlion/geocoder into tomlion-master

parents 07a08327 e7894233
No related branches found
No related tags found
No related merge requests found
...@@ -40,6 +40,12 @@ module Geocoder::Lookup ...@@ -40,6 +40,12 @@ module Geocoder::Lookup
unless (bounds = query.options[:bounds]).nil? unless (bounds = query.options[:bounds]).nil?
params[:bounds] = bounds.map{ |point| "%f,%f" % point }.join('|') params[:bounds] = bounds.map{ |point| "%f,%f" % point }.join('|')
end end
unless (region = query.options[:region]).nil?
params[:region] = region
end
unless (components = query.options[:components]).nil?
params[:components] = components
end
params params
end end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment