search for: set_map_type_init

Displaying 1 result from an estimated 1 matches for "set_map_type_init".

2008 Mar 14
0
problem with rjs and marker group
...p.new("map_div") # @map.control_init(:large_map => true, :map_type => true) # (inserts map control) # place the map where we want it ( center and zoom level ) @map.center_zoom_init([@group.group_map_stat.lat.to_f, @group.group_map_stat.long.to_f], @zoom) @map.set_map_type_init(GMapType::G_HYBRID_MAP) @sites = @group.sites @sites.each do |site| # draw the circles site.map_stat.circle_image(@zoom) end @all_markers = make_map_markers(@sites, @zoom) @map.overlay_global_init(GMarkerGroup.new(true, @all_markers), "myGroup&quo...