Add ol.Map.prototype.isAnimating

This commit is contained in:
Tom Payne
2012-08-21 17:56:38 +02:00
parent 1d5cdcb0ac
commit bc22fd9ae4

View File

@@ -527,6 +527,14 @@ ol.Map.prototype.handleBrowserWindowResize = function() {
};
/**
* @return {boolean} Is animating.
*/
ol.Map.prototype.isAnimating = function() {
return this.animatingCount_ > 0;
};
/**
* @return {boolean} Is defined.
*/