I''ve just started playing with Google Maps and ym4r_gm. The map seems to work fine when it is called by the controller in a http request, but I was hoping I could load a map via a link_to_function only when it is called by the user. However, doing so seems to give a blank div, so I''m presuming that a need to make some sort of request to Google Maps during the link_to_function. Does any know how to fix this, or do I always need to load a map in the http request and then set the ''display'' properties? <%= link_to_function("See on Map") do |page| page.insert_html :top, "items_wrapper", "#{render :partial => "map/show"}" end %> -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---