Make zoom control animation duration configurable

This commit is contained in:
Tom Payne
2013-10-07 15:35:52 +02:00
parent 37a7ac1f5b
commit 214e578333
2 changed files with 14 additions and 11 deletions
+1
View File
@@ -217,6 +217,7 @@
/**
* @typedef {Object} ol.control.ZoomOptions
* @property {number|undefined} duration Animation duration. Default is 250ms.
* @property {string|undefined} className CSS class name. Default is `ol-zoom`.
* @property {number|undefined} delta The zoom delta applied on each click.
* @property {Element|undefined} target Target.