Cleanup comments
This commit is contained in:
committed by
Olivier Guyot
parent
5ff681563f
commit
02597229e3
@@ -929,17 +929,16 @@ class Draw extends PointerInteraction {
|
|||||||
|
|
||||||
// Duplicate last coordinate for sketch drawing
|
// Duplicate last coordinate for sketch drawing
|
||||||
this.addToDrawing_(ending);
|
this.addToDrawing_(ending);
|
||||||
//this.addToDrawing_(coordinateExtension[coordinateExtension.length - 1]);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Extend an existing geometry by adding additional points. This only works
|
* Initiate draw mode by starting from an existing geometry which will
|
||||||
* on features with `LineString` geometries, where the interaction will
|
* receive new additional points. This only works on features with
|
||||||
* extend lines by adding points to the end of the coordinates array.
|
* `LineString` geometries, where the interaction will extend lines by adding
|
||||||
|
* points to the end of the coordinates array.
|
||||||
* This will change the original feature, instead of drawing a copy.
|
* This will change the original feature, instead of drawing a copy.
|
||||||
*
|
*
|
||||||
* Extend can be used without having triggered the startDrawing_ function.
|
* The function will dispatch a `drawstart` event.
|
||||||
* The function will dispatch a DRAWSTART event.
|
|
||||||
*
|
*
|
||||||
* @param {!Feature<LineString>} feature Feature to be extended.
|
* @param {!Feature<LineString>} feature Feature to be extended.
|
||||||
* @api
|
* @api
|
||||||
|
|||||||
Reference in New Issue
Block a user