search for: map_stat

Displaying 3 results from an estimated 3 matches for "map_stat".

Did you mean: map_start
2008 Mar 14
0
problem with rjs and marker group
...ms[:zoom].to_i @zoom = 14 if params[:zoom].nil? @map = GMap.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) @...
2007 Nov 26
1
[PATCH] Don't draw shaded windows about to be destroyed
....c index 00cbf73..4ddd332 100644 --- a/src/paint.c +++ b/src/paint.c @@ -193,7 +193,12 @@ paintOutputRegion (CompScreen *screen, if (w->destroyed) continue; - if (!w->shaded) + if (w->shaded) + { + if (w->id < 2) + continue; + } + else { if (w->attrib.map_state != IsViewable || !w->damaged) continue; @@ -232,7 +237,12 @@ paintOutputRegion (CompScreen *screen, if (w == fullscreenWindow) continue; - if (!w->shaded) + if (w->shaded) + { + if (w->id < 2) + continue; + } + else { if (w->attrib.map_state != Is...
2008 Mar 04
0
question about updating the map
...ome text for the marker balloons</strong>" 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)) marker = GMarker.new([site.map_stat.lat.to_f , site.map_stat.long.to_f], :title => title, :icon => icon, :info_window => text) the #{site.id},png is the image drawn earlier by RMagick. That is the main thing i want to update. thanks for any help, shawn