class Geocoder::Lookup::Google
Public Instance Methods
map_link_url(coordinates)
click to toggle source
# File lib/geocoder/lookups/google.rb, line 11 def map_link_url(coordinates) "http://maps.google.com/maps?q=#{coordinates.join(',')}" end
name()
click to toggle source
# File lib/geocoder/lookups/google.rb, line 7 def name "Google" end
supported_protocols()
click to toggle source
# File lib/geocoder/lookups/google.rb, line 15 def supported_protocols # Google requires HTTPS if an API key is used. if configuration.api_key [:https] else [:http, :https] end end