lib/geocoder/lookups/nominatim.rb in geocoder-1.1.8 vs lib/geocoder/lookups/nominatim.rb in geocoder-1.1.9
- old
+ new
@@ -26,10 +26,9 @@
end
def query_url_params(query)
params = {
:format => "json",
- :polygon => "1",
:addressdetails => "1",
:"accept-language" => configuration.language
}.merge(super)
if query.reverse_geocode?
lat,lon = query.coordinates