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

Add Google region param example to README.

parent 30f29bf5
No related branches found
No related tags found
No related merge requests found
...@@ -351,6 +351,10 @@ Please see the [source code for each lookup](https://github.com/alexreisner/geoc ...@@ -351,6 +351,10 @@ Please see the [source code for each lookup](https://github.com/alexreisner/geoc
# with Nominatim: # with Nominatim:
Geocoder.search("Paris", :params => {:countrycodes => "gb,de,fr,es,us"}) Geocoder.search("Paris", :params => {:countrycodes => "gb,de,fr,es,us"})
Or, to search within a particular region with Google:
Geocoder.search("...", :params => {:region => "..."})
You can also configure multiple geocoding services at once, like this: You can also configure multiple geocoding services at once, like this:
Geocoder.configure( Geocoder.configure(
......
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