[OpenLayers-Trac] Re: [OpenLayers] #3343: methods for programmatic
control of sketches while drawing
OpenLayers
trac-20090302 at openlayers.org
Thu Jun 16 13:27:20 EDT 2011
#3343: methods for programmatic control of sketches while drawing
---------------------------------+------------------------------------------
Reporter: tschaub | Owner: tschaub
Type: feature | Status: assigned
Priority: minor | Milestone: 2.12 Release
Component: Control.DrawFeature | Version: 2.10
Keywords: | State: Review
---------------------------------+------------------------------------------
Changes (by tschaub):
* state: => Review
Comment:
The attached patch adds the following API methods to the draw control:
* insertXY
* insertDeltaXY
* insertDirectionLength
* insertDeflectionLength
* undo
* redo
* finishSketch
* cancel
The use of these methods are demonstrated in two examples and in the
handler tests. Tests pass and examples work on Chrome 12 and IE 6.
Thanks for any review.
--
Ticket URL: <http://trac.openlayers.org/ticket/3343#comment:2>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list