Welcome to Working With Rails


Discussion Forums

Discuss all things Ruby on Rails with perhaps the web's most vibrant group of Ruby on Rails enthusiasts.
Rails Google Maps Plugin
1 Post
Rails Google Maps Plugin

Is it somehow possible the plugin (http://www.juixe.com/techknow/index.php/2007/02/07/rails-google-maps-plugin/) configure that a marker's (GMarker) :info_window as default opened is?

Sample code, controller's part:

@map = GMap.new("map_div") @map.control_init(:large_map => true,:map_type => true) @map.center_zoom_init([75.5,-42.56],4) @map.overlay_init(GMarker.new([75.6,-42.467],:title => "Hello", :info_window => "Info! Info!"))

So this :info_window opens if you click on the marker. What I want is to open it by default.



1 Post
Login to add your message