class Geocoder::Lookup::PcMiler
def query_url_params(query)
def query_url_params(query) if query.reverse_geocode? lat,lon = query.coordinates formatted_query = "#{CGI.escape(lat)},#{CGI.escape(lon)}" else formatted_query = query.text.to_s end { authToken: configuration.api_key, query: formatted_query, # to add additional metadata to response such as QueryConfidence include: 'Meta' }.merge(super(query)) end