diff --git a/src/ol/animation.js b/src/ol/animation.js index d04c2d37fa..2051f01d47 100644 --- a/src/ol/animation.js +++ b/src/ol/animation.js @@ -7,6 +7,8 @@ goog.require('ol.easing'); /** + * Generate an animated transition that will "bounce" the resolution as it + * approaches the final value. * @param {olx.animation.BounceOptions} options Bounce options. * @return {ol.PreRenderFunction} Pre-render function. * @api @@ -42,6 +44,7 @@ ol.animation.bounce = function(options) { /** + * Generate an animated transition while updating the view center. * @param {olx.animation.PanOptions} options Pan options. * @return {ol.PreRenderFunction} Pre-render function. * @api @@ -81,6 +84,7 @@ ol.animation.pan = function(options) { /** + * Generate an animated transition while updating the view rotation. * @param {olx.animation.RotateOptions} options Rotate options. * @return {ol.PreRenderFunction} Pre-render function. * @api @@ -126,6 +130,7 @@ ol.animation.rotate = function(options) { /** + * Generate an animated transition while updating the view resolution. * @param {olx.animation.ZoomOptions} options Zoom options. * @return {ol.PreRenderFunction} Pre-render function. * @api