class Geocoder::Lookup::Twogis
def query_url_params(query)
def query_url_params(query) if query.reverse_geocode? q = query.coordinates.reverse.join(",") else q = query.sanitized_text end params = { :q => q, :lang => "#{query.language || configuration.language}", :key => configuration.api_key, :fields => 'items.street,items.adm_div,items.full_address_name,items.point,items.geometry.centroid' } params.merge(super) end