lib/geocoder/lookups/esri.rb in geocoder-1.6.2 vs lib/geocoder/lookups/esri.rb in geocoder-1.6.3
- old
+ new
@@ -45,9 +45,11 @@
if for_storage_value = for_storage(query)
params[:forStorage] = for_storage_value
end
params[:sourceCountry] = configuration[:source_country] if configuration[:source_country]
+ params[:preferredLabelValues] = configuration[:preferred_label_values] if configuration[:preferred_label_values]
+
params.merge(super)
end
def for_storage(query)
if query.options.has_key?(:for_storage)