[OpenLayers-Trac] Re: [OpenLayers] #3052: pan while drawing

OpenLayers trac-20090302 at openlayers.org
Fri Feb 11 16:02:54 EST 2011


#3052: pan while drawing
---------------------------+------------------------------------------------
 Reporter:  erilem         |       Owner:  tschaub     
     Type:  feature        |      Status:  new         
 Priority:  major          |   Milestone:  2.11 Release
Component:  Handler.Point  |     Version:  2.10        
 Keywords:                 |       State:  Review      
---------------------------+------------------------------------------------
Changes (by erilem):

  * state:  => Review


Comment:

 Replying to [comment:4 jorix]:
 > It is easy to reproduce:
 >  1. Freehand drawing
 >    a. Press the Shift key
 >    b. Press the mouse, move, and release
 >  2. Move
 >  3. Repeat step 1.

 Thanks jorix.

 [attachment:patch-3052-A2.diff] fixes it, and provides new unit tests for
 this issue ({{{test_persist_freehand}}}).

 This patch is ready for review, and for serious, real-life testing.

 The patch can be seen in action in the following example pages:

  * http://dev.openlayers.org/sandbox/elemoine/draw-feature/examples/draw-
 feature.html
  * http://dev.openlayers.org/sandbox/elemoine/draw-
 feature/examples/snapping.html
  * http://dev.openlayers.org/sandbox/elemoine/draw-
 feature/examples/measure.html

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


More information about the Trac mailing list