Move ol.DRAGZOOM_ANIMATION_DURATION const to a constructor option
This commit is contained in:
@@ -2286,6 +2286,7 @@ olx.interaction.DragRotateOptions.prototype.condition;
|
||||
|
||||
/**
|
||||
* @typedef {{condition: (ol.events.ConditionType|undefined),
|
||||
* duration: (number|undefined),
|
||||
* style: ol.style.Style}}
|
||||
* @api
|
||||
*/
|
||||
@@ -2302,6 +2303,14 @@ olx.interaction.DragZoomOptions;
|
||||
olx.interaction.DragZoomOptions.prototype.condition;
|
||||
|
||||
|
||||
/**
|
||||
* Animation duration in milliseconds. Default is `200`.
|
||||
* @type {number|undefined}
|
||||
* @api
|
||||
*/
|
||||
olx.interaction.DragZoomOptions.prototype.duration;
|
||||
|
||||
|
||||
/**
|
||||
* Style for the box.
|
||||
* @type {ol.style.Style}
|
||||
|
||||
Reference in New Issue
Block a user