Move ol.DRAGROTATEANDZOOM_ANIMATION_DURATION const to a constructor option
This commit is contained in:
+10
-1
@@ -2251,7 +2251,8 @@ olx.interaction.DragPanOptions.prototype.kinetic;
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {{condition: (ol.events.ConditionType|undefined)}}
|
||||
* @typedef {{condition: (ol.events.ConditionType|undefined),
|
||||
* duration: (number|undefined)}}
|
||||
* @api
|
||||
*/
|
||||
olx.interaction.DragRotateAndZoomOptions;
|
||||
@@ -2267,6 +2268,14 @@ olx.interaction.DragRotateAndZoomOptions;
|
||||
olx.interaction.DragRotateAndZoomOptions.prototype.condition;
|
||||
|
||||
|
||||
/**
|
||||
* Animation duration in milliseconds. Default is `400`.
|
||||
* @type {number|undefined}
|
||||
* @api
|
||||
*/
|
||||
olx.interaction.DragRotateAndZoomOptions.prototype.duration;
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {{condition: (ol.events.ConditionType|undefined)}}
|
||||
* @api
|
||||
|
||||
Reference in New Issue
Block a user