Add ol.interaction.Draw.finishCondition to olx.js

This commit is contained in:
giohappy
2016-04-22 15:11:54 +02:00
parent 2076ef02ca
commit c7af6bd494

View File

@@ -2659,6 +2659,15 @@ olx.interaction.DrawOptions.prototype.maxPoints;
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.
* @type {ol.style.Style|Array.<ol.style.Style>|ol.style.StyleFunction|undefined}