search for: resizemap

Displaying 2 results from an estimated 2 matches for "resizemap".

2006 Aug 03
3
Calling/Executing javascript functions from controller
...? As an example I''ve tried: class RandomController < ApplicationController before_filter :login_required, :except => [:index, :initialize] def index @session[:mode] = ''view'' @map = GMap.new("map") render :update do |page| page.call("resizeMap") end @map.control_init(:large_map => true, :map_type => true) @map.center_zoom_init([38.539506, -121.757172],13) store_location end end This as expected does not work, it spits of the try{blah blah} catch stuff. Any help is greatly appreciated! Russ -- Posted via http:...
2006 Aug 03
0
N00b question...but here it goes
...an example I''ve tried: class RandomController < ApplicationController before_filter :login_required, :except => [:index, :initialize] def index @session[:mode] = ''view'' @map = GMap.new("map") render :update do |page| page.call("resizeMap") end @map.control_init(:large_map => true, :map_type => true) @map.center_zoom_init([38.539506, -121.757172],13) store_location end end This as expected does not work, it spits of the try{blah blah} catch stuff. Any help is greatly appreciated! Russ -- Posted via...