[OpenLayers-Trac] [OpenLayers] #3329: Handler.Path: The drawing
starts after a drag
OpenLayers
trac-20090302 at openlayers.org
Fri May 27 18:36:52 EDT 2011
#3329: Handler.Path: The drawing starts after a drag
--------------------------+-------------------------------------------------
Reporter: jorix | Owner: tschaub
Type: bug | Status: new
Priority: trivial | Milestone: 2.11 Release
Component: Handler.Path | Version: 2.11 RC1
Keywords: | State:
--------------------------+-------------------------------------------------
When the drag ends at the same point where it started, the drawing begins.
If it was drawing a point is added.
It is very unlikely happen. I found writing the code tests for #3323. The
last test of {{{function test_persist_freehand}}} should be:
{{{498: t.ok(feature3.layer == null, "d) feature3 }}}'''not'''{{{
destroyed");}}}
You can reproduce using "measure distance" on
http://openlayers.org/dev/examples/measure.html and start a drag from a
corner, and ending on the same corner (taking care of pixels there are
only 5 of tolerance ;-)
--
Ticket URL: <http://trac.openlayers.org/ticket/3329>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list