Make mouse wheel zoom animation duration configurable

This commit is contained in:
Tom Payne
2013-10-07 15:44:54 +02:00
parent 1863109ac8
commit 6c0d4cddad
2 changed files with 16 additions and 8 deletions

View File

@@ -313,6 +313,11 @@
* @property {number|undefined} delta The amount to zoom on each key press.
*/
/**
* @typedef {Object} ol.interaction.MouseWheelZoomOptions
* @property {number|undefined} duration Animation duration. Default is 250ms.
*/
/**
* @typedef {Object} ol.interaction.SelectOptions
* @property {ol.interaction.ConditionType|undefined} addCondition A conditional