[OpenLayers-Commits] r11951 -
sandbox/tschaub/editing/lib/OpenLayers/Control
commits-20090109 at openlayers.org
commits-20090109 at openlayers.org
Wed May 4 15:02:42 EDT 2011
Author: tschaub
Date: 2011-05-04 12:02:41 -0700 (Wed, 04 May 2011)
New Revision: 11951
Modified:
sandbox/tschaub/editing/lib/OpenLayers/Control/DrawFeature.js
Log:
Remove duplicate def.
Modified: sandbox/tschaub/editing/lib/OpenLayers/Control/DrawFeature.js
===================================================================
--- sandbox/tschaub/editing/lib/OpenLayers/Control/DrawFeature.js 2011-05-04 18:57:34 UTC (rev 11950)
+++ sandbox/tschaub/editing/lib/OpenLayers/Control/DrawFeature.js 2011-05-04 19:02:41 UTC (rev 11951)
@@ -165,20 +165,6 @@
},
/**
- * APIMethod: insertDirectionLength
- * Insert a point in the current sketch given a direction and a length.
- *
- * Parameters:
- * direction - {Number} Degrees clockwise from the positive x-axis.
- * length - {Number} Distance from the previously drawn point.
- */
- insertDirectionLength: function(direction, length) {
- if (this.handler && this.handler.line) {
- this.handler.insertDirectionLength(direction, length);
- }
- },
-
- /**
* APIMethod: finishSketch
* Finishes the sketch without including the currently drawn point.
* This method can be called to terminate drawing programmatically
More information about the Commits
mailing list