search for: zoomhash

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

Did you mean: goohhash
2008 Mar 14
0
problem with rjs and marker group
...up.new(true, @all_markers), "myGroup") end def make_map_markers(sites, zoom) _all_markers = Hash.new sites.each_with_index do |site, i| # load the circles text = site.map_stat.marker_window_html() # r = site.map_stat.radius.to_i zoomhash = {13 => 0.5, 14 => 1, 15 => 2, 16 => 4} r = (site.map_stat.radius.to_f * zoomhash[@zoom.to_i].to_f).to_i # title tooltip for the image title = "%s %s => %s" % [@group.name, site.site_name, (KeyWord.stat_description(site.status_sensor.last_val...