[OpenLayers-Trac] Re: [OpenLayers] #3224: Canvas renderer ignores style.display property

OpenLayers trac-20090302 at openlayers.org
Tue May 3 12:19:53 EDT 2011


#3224: Canvas renderer ignores style.display property
------------------------------+---------------------------------------------
  Reporter:  vog              |       Owner:  bbinet                         
      Type:  bug              |      Status:  new                            
  Priority:  major            |   Milestone:  2.11 Release                   
 Component:  Renderer.Canvas  |     Version:  2.10                           
Resolution:                   |    Keywords:  canvas, display, none, renderer
     State:  Review           |  
------------------------------+---------------------------------------------
Changes (by bbinet):

  * state:  Needs More Work => Review


Comment:

 [attachment:3224.0.2.patch] fixes the regression by calling redraw also
 when feature style.display is "none" or when the feature geometry is
 outside the renderer extent. With that change, the features are properly
 cleared from the canvas element.
 This patch also fix the tests accordingly.

 Tests pass in FF4, chrome 11: please review.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/3224#comment:15>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list