module ActionView::Helpers::AutoTagHelper::DisplayTypes::GoogleMapLatLon
Public Class Methods
display_tag(latlon,html_options)
click to toggle source
# File lib/action_view/helpers/auto_tag_helper/display_types/google_map.rb, line 6 def self.display_tag latlon,html_options lat = latlon[:lat] lon = latlon[:lon] <<RTN <iframe width="600" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.co.jp/maps?f=q&hl=ja&q=#{lat},#{lon}&t=m&om=0&ie=UTF8&oe=UTF8&ll=#{lat},#{lon}&z=17&output=embed"></iframe> RTN end