search for: map_state

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

Did you mean: omap_state
2008 Mar 14
0
problem with rjs and marker group
Lo there all, i have a function that builds a bunch of markers to go on a google map. I would like to update them with rjs. Here is what i have so far. def map_main_layout @zoom = params[: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
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 != IsV...
2008 Mar 04
0
question about updating the map
Hey there all. I have a mapping app that uses ym4r_gm to build with google maps. The markers i generate use the status of a machine to determine their color. This way our customers can pull up the map and see a color coded drawing where their machine is. So, how would i go about making this to where it could update each marker every 10 minutes or so. I would like to allow our customers to leave