Add view.animate() to the API
This commit is contained in:
@@ -201,6 +201,7 @@ ol.inherits(ol.View, ol.Object);
|
|||||||
* multiple times. An optional callback can be provided as a final
|
* multiple times. An optional callback can be provided as a final
|
||||||
* argument. The callback will be called with a boolean indicating whether
|
* argument. The callback will be called with a boolean indicating whether
|
||||||
* the animation completed without being cancelled.
|
* the animation completed without being cancelled.
|
||||||
|
* @api
|
||||||
*/
|
*/
|
||||||
ol.View.prototype.animate = function(var_args) {
|
ol.View.prototype.animate = function(var_args) {
|
||||||
var start = Date.now();
|
var start = Date.now();
|
||||||
|
|||||||
Reference in New Issue
Block a user