[OpenLayers-Trac] [OpenLayers] #3264: the canvas renderer may mess up when rendering external graphics

OpenLayers trac-20090302 at openlayers.org
Wed Apr 20 05:04:58 EDT 2011


#3264: the canvas renderer may mess up when rendering external graphics
-----------------------------+----------------------------------------------
 Reporter:  erilem           |       Owner:  crschmidt   
     Type:  bug              |      Status:  new         
 Priority:  major            |   Milestone:  2.11 Release
Component:  Renderer.Canvas  |     Version:  2.10        
 Keywords:                   |       State:              
-----------------------------+----------------------------------------------
 The Canvas {{{drawImage}}} function to draw external graphics is called
 asynchronously when the Image is loaded. This causes problem when, for
 example, the map is moved or features are destroyed, between
 {{{drawExternalGraphic}}} and {{{canvas.drawImage}}}.

 There already is a TODO comment about this in the {{{onLoad}}} inner
 function of {{{drawExternalGraphic}}}, but the comment does address the
 case where a {{{destroyFeatures}}} occurs between before {{{drawImage}}}
 is called.

 Working on that now...

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


More information about the Trac mailing list