class Geocoder::Lookup::Photon
def base_query_url(query)
def base_query_url(query) host = configuration[:host] || 'photon.komoot.io' method = query.reverse_geocode? ? 'reverse' : 'api' "#{protocol}://#{host}/#{method}?" end
def base_query_url(query) host = configuration[:host] || 'photon.komoot.io' method = query.reverse_geocode? ? 'reverse' : 'api' "#{protocol}://#{host}/#{method}?" end