Class: Geocoder::Lookup::BanDataGouvFr

Inherits:
Base
  • Object
show all
Defined in:
lib/geocoder/lookups/ban_data_gouv_fr.rb

Instance Method Summary collapse

Methods inherited from Base

#cache, #handle, #initialize, #query_url, #required_api_key_parts, #search, #supported_protocols

Constructor Details

This class inherits a constructor from Geocoder::Lookup::Base

Instance Method Details


13
14
15
# File 'lib/geocoder/lookups/ban_data_gouv_fr.rb', line 13

def map_link_url(coordinates)
  "https://www.openstreetmap.org/#map=19/#{coordinates.join('/')}"
end

#nameObject


9
10
11
# File 'lib/geocoder/lookups/ban_data_gouv_fr.rb', line 9

def name
  "Base Adresse Nationale Fran├žaise"
end