[OpenLayers-Trac] [OpenLayers] #3343: methods for programmatic
control of sketches while drawing
OpenLayers
trac-20090302 at openlayers.org
Sun Jun 5 19:59:31 EDT 2011
#3343: methods for programmatic control of sketches while drawing
---------------------------------+------------------------------------------
Reporter: tschaub | Owner:
Type: feature | Status: new
Priority: minor | Milestone: 2.12 Release
Component: Control.DrawFeature | Version: 2.10
Keywords: | State:
---------------------------------+------------------------------------------
In many drawing applications, the user can both manually digitize points
and specify coordinates or offsets for adding points to the current
drawing.
Examples from ArcGIS Desktop:
* insert at
[http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/at_an_exact_x_y_location_absolute_x_y/001t00000051000000/
x/y]
* insert at
[http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/relative_to_the_location_of_the_last_vertex_delta_x_y/001t0000005p000000/
delta x/y]
* insert at
[http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/and_a_length/001t00000063000000/
direction/length]
* constrain
[http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/from_another_segment_deflection/001t00000064000000/
deflection]
In addition to these methods, it is useful to be able to finish a sketch
without double-clicking (allowing the sketch to be completed without
adding the point currently under the mouse) and cancel a sketch
altogether.
--
Ticket URL: <http://trac.openlayers.org/ticket/3343>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list