Add ol.interaction.Draw.finishCondition to olx.js
This commit is contained in:
@@ -2659,6 +2659,15 @@ olx.interaction.DrawOptions.prototype.maxPoints;
|
|||||||
olx.interaction.DrawOptions.prototype.minPoints;
|
olx.interaction.DrawOptions.prototype.minPoints;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A function that takes an {@link ol.MapBrowserEvent} and returns a boolean
|
||||||
|
* to indicate whether the drawing can be finished.
|
||||||
|
* @type {ol.events.ConditionType|undefined}
|
||||||
|
* @api
|
||||||
|
*/
|
||||||
|
olx.interaction.DrawOptions.prototype.finishCondition;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Style for sketch features.
|
* Style for sketch features.
|
||||||
* @type {ol.style.Style|Array.<ol.style.Style>|ol.style.StyleFunction|undefined}
|
* @type {ol.style.Style|Array.<ol.style.Style>|ol.style.StyleFunction|undefined}
|
||||||
|
|||||||
Reference in New Issue
Block a user