Add ol.Map.prototype.isAnimating
This commit is contained in:
@@ -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.
|
* @return {boolean} Is defined.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user