Make touch zoom animation duration configurable

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

View File

@@ -343,6 +343,11 @@
* @property {number|undefined} threshold Minimal angle to start a rotation.
*/
/**
* @typedef {Object} ol.interaction.TouchZoomOptions
* @property {number|undefined} duration Animation duration. Default is 400ms.
*/
/**
* @typedef {Object} ol.layer.BaseOptions
* @property {number|undefined} brightness Brightness.