Allow freehand drawing without a modifier key
This commit is contained in:
@@ -2695,6 +2695,16 @@ olx.interaction.DrawOptions.prototype.geometryName;
|
||||
olx.interaction.DrawOptions.prototype.condition;
|
||||
|
||||
|
||||
/**
|
||||
* Operate in freehand mode for lines, polygons, and circles. This makes the
|
||||
* interaction always operate in freehand mode and takes precedence over any
|
||||
* `freehandCondition` option.
|
||||
* @type {boolean|undefined}
|
||||
* @api
|
||||
*/
|
||||
olx.interaction.DrawOptions.prototype.freehand;
|
||||
|
||||
|
||||
/**
|
||||
* Condition that activates freehand drawing for lines and polygons. This
|
||||
* function takes an {@link ol.MapBrowserEvent} and returns a boolean to
|
||||
|
||||
Reference in New Issue
Block a user