Move ol.ROTATE_ANIMATION_DURATION const to a constructor option
This commit is contained in:
@@ -2534,12 +2534,21 @@ olx.interaction.MouseWheelZoomOptions.prototype.duration;
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {{threshold: (number|undefined)}}
|
||||
* @typedef {{threshold: (number|undefined),
|
||||
* duration: (number|undefined)}}
|
||||
* @api
|
||||
*/
|
||||
olx.interaction.PinchRotateOptions;
|
||||
|
||||
|
||||
/**
|
||||
* The duration of the animation in milliseconds. Default is `250`.
|
||||
* @type {number|undefined}
|
||||
* @api
|
||||
*/
|
||||
olx.interaction.PinchRotateOptions.prototype.duration;
|
||||
|
||||
|
||||
/**
|
||||
* Minimal angle in radians to start a rotation. Default is `0.3`.
|
||||
* @type {number|undefined}
|
||||
|
||||
Reference in New Issue
Block a user