[OpenLayers-Trac] [OpenLayers] #3397: Canvas: JS error

OpenLayers trac-20090302 at openlayers.org
Sat Jul 2 03:30:26 EDT 2011


#3397: Canvas: JS error
-----------------------------+----------------------------------------------
 Reporter:  jorix            |       Owner:  crschmidt   
     Type:  bug              |      Status:  new         
 Priority:  minor            |   Milestone:  2.11 Release
Component:  Renderer.Canvas  |     Version:  2.11 RC1    
 Keywords:  DragFeature      |       State:              
-----------------------------+----------------------------------------------
 Using "examples/modify-feature.html" try:

  * In the code of {{{Layer/Vector.js}}} leave only {{{renderers:
 ['Canvas']}}}
  * Draw a line, only two points.
  * Select "modify feature" and select the line.
  * Moving the mouse quickly over the verdices several times to cause
 {{{overFeature}}} followed by {{{outFeature}}}. After a few attempts oops!
 JS error:

 {{{
 Canvas.js line 618
 this.features["OpenLayers.Feature.Vector_" + (id - 1 + this.hitOverflow)]
 is undefined
 }}}

 Reproduced with FF3.6 and Chrome12 (with Chrome it is more difficult to
 fail)

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


More information about the Trac mailing list