[OpenLayers-Trac] [OpenLayers] #3130: improve canvas rendering for polygons with holes

OpenLayers trac-20090302 at openlayers.org
Sun Feb 27 05:53:18 EST 2011


#3130: improve canvas rendering for polygons with holes
-----------------------------+----------------------------------------------
 Reporter:  tschaub          |       Owner:  crschmidt   
     Type:  feature          |      Status:  new         
 Priority:  minor            |   Milestone:  2.11 Release
Component:  Renderer.Canvas  |     Version:  2.10        
 Keywords:                   |       State:              
-----------------------------+----------------------------------------------
 Ticket #2856 makes it so holes in polygons are rendered in canvas.  Prior
 to this, no holes were rendered.  The fix for #2856 is overly agressive,
 punching holes through all currently drawn features on the same canvas.
 An improvement for this would be to create a sketch canvas and to
 temporarily render the single polygon on this sketch canvas.  Then we
 could safely erase all holes and repaint the resulting image data onto the
 real canvas.

 In my opinion, this doesn't need to be done for 2.11.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/3130>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list