Skip to content
Snippets Groups Projects
Commit 12187d9c authored by Alex Reisner's avatar Alex Reisner
Browse files

Remove incorrect map_link_url method.

parent 3cfe0309
No related branches found
No related tags found
No related merge requests found
......@@ -4,10 +4,6 @@ require "geocoder/results/nominatim"
module Geocoder::Lookup
class Nominatim < Base
def map_link_url(coordinates)
"http://nominatim.openstreetmap.org/reverse?format=html&lat=#{coordinates[0]}&lon=#{coordinates[1]}&zoom=18&addressdetails=1"
end
def results(query, reverse = false)
return [] unless doc = fetch_data(query, reverse)
doc.is_a?(Array) ? doc : [doc]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment