Make keyboard zoom animation duration configurable

This commit is contained in:
Tom Payne
2013-10-07 15:41:00 +02:00
parent 93b33589a1
commit 1863109ac8
2 changed files with 9 additions and 8 deletions

View File

@@ -306,6 +306,7 @@
/**
* @typedef {Object} ol.interaction.KeyboardZoomOptions
* @property {number|undefined} duration Animation duration. Default is 100ms.
* @property {ol.interaction.ConditionType|undefined} condition A conditional
* modifier (i.e. Shift key) that determines if the interaction is active
* or not, default is no modifiers.