Add view.animate() to the API

This commit is contained in:
Tim Schaub
2016-11-06 09:28:53 -07:00
parent 4b19f12c29
commit f4579dacd8

View File

@@ -201,6 +201,7 @@ ol.inherits(ol.View, ol.Object);
* multiple times. An optional callback can be provided as a final
* argument. The callback will be called with a boolean indicating whether
* the animation completed without being cancelled.
* @api
*/
ol.View.prototype.animate = function(var_args) {
var start = Date.now();