Move ol.ROTATE_ANIMATION_DURATION const to a constructor option

This commit is contained in:
Frederic Junod
2015-04-13 15:05:35 +02:00
parent 2fcdc48d20
commit 1daf4628b7
3 changed files with 17 additions and 9 deletions

View File

@@ -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}