search for: update_map_mark

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

2008 Mar 14
0
problem with rjs and marker group
...# place the marker on the map marker = GMarker.new([site.map_stat.lat.to_f , site.map_stat.long.to_f], :title => title, :icon => icon, :info_window => text) _all_markers[i] = marker end return _all_markers end def update_map_markers @zoom = params[:zoom].to_i @zoom = 14 if params[:zoom].nil? @map = Variable.new("map") @all_markers = Variable.new("myGroup") # the actual marker group, not the markers, this is the container @group.sites.each { |site| site.map_stat.circle...