[OpenLayers-Trac] Re: [OpenLayers] #3272: Handler.Path: It is not possible to draw accurately

OpenLayers trac-20090302 at openlayers.org
Wed Apr 27 17:32:41 EDT 2011


#3272: Handler.Path: It is not possible to draw accurately
--------------------------+-------------------------------------------------
 Reporter:  jorix         |       Owner:  tschaub        
     Type:  bug           |      Status:  new            
 Priority:  critical      |   Milestone:  2.11 Release   
Component:  Handler.Path  |     Version:  SVN            
 Keywords:                |       State:  Needs More Work
--------------------------+-------------------------------------------------

Comment(by jorix):

 Replying to [comment:14 erilem]:
 > Ok. In B0 dblclickTolerance defaults to 20 on touch devices. My goal was
 to not add a new point if the user accidentally does two touches at nearly
 the same location. But I'm now starting to think this isn't necessary (and
 wanted), and that the dblclickTolerance should only be checked when within
 the timer, for the feature finalization (as done in A0). I'll try to come
 up with a C0 patch that takes the best from A0 and B0.

 As the handler resists!! is hard!!

 Just a minor detail. I think {{{this.mouseDown = false;}}} in
 {{{touchstart}}} is redundant ({{{this.finishGeometry();}}} also puts
 {{{false}}})[[BR]]
 I like the name {{{doubleTouchTolerance}}} that {{{dblclickTolerance}}}

 Thinking of slow processors (HTC Magic), I thought also try to activate
 the timer in "up" after adding the point (only if before the timer is
 activated). But today I have not had time to try this.

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


More information about the Trac mailing list