2 def result_to_html(result)
4 #html_options[:title] = strip_tags(result[:description]) if result[:description]
5 html_options[:href] = "?mlat=#{result[:lat]}&mlon=#{result[:lon]}&zoom=#{result[:zoom]}"
7 html << result[:prefix] if result[:prefix]
8 html << link_to_function(result[:name],"setPosition(#{result[:lat]}, #{result[:lon]}, #{result[:zoom]})", html_options) if result[:name]
9 html << result[:suffix] if result[:suffix]