Add ol.interaction.DragBox

This commit is contained in:
Éric Lemoine
2013-12-05 11:11:23 +01:00
committed by Antoine Abt
parent 91a61f3152
commit 6b305cd146
3 changed files with 111 additions and 0 deletions

View File

@@ -312,6 +312,15 @@
* @todo stability experimental
*/
/**
* @typedef {Object} olx.interaction.DragBoxOptions
* @property {function(ol.Map, ol.geom.Polygon)} behavior Behavior function.
* @property {ol.events.ConditionType|undefined} condition A conditional
* modifier (i.e. Shift key) that determines if the interaction is active
* or not, default is always.
* @todo stability experimental
*/
/**
* @typedef {Object} olx.interaction.DragZoomOptions
* @property {ol.events.ConditionType|undefined} condition A conditional