]> git.openstreetmap.org Git - rails.git/blobdiff - app/helpers/geocoder_helper.rb
Allow a note=N parameter in the URL to zoom to and open a note
[rails.git] / app / helpers / geocoder_helper.rb
index 4c58d54dde5f54171568d4e0b182bc05c45d532e..8f662bde73d304e7944b3c1195dca1b2cf407db1 100644 (file)
@@ -20,4 +20,8 @@ module GeocoderHelper
 
     return raw(html)
   end
+
+  def describe_location(lat, lon, zoom = nil, language = nil)
+    Nominatim.describe_location(lat, lon, zoom, language)
+  end
 end