search for: status_sensor

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

2008 Mar 14
0
problem with rjs and marker group
...o_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_value)[0])] # create the icon image ( the pivot circle ) icon = GIcon.new(:image => "/images/tmp/#{site.id}.png", :icon_size => GSize.new((r*2),(r*2)), :icon_anchor => GPoint.new(r,r), :info_window_anchor => GPoint.new(r,r))...