Add ol.Map#isRendered

This commit is contained in:
Tom Payne
2014-02-20 19:56:22 +01:00
parent 710d0c1bd8
commit 443e7d9a8c

View File

@@ -1010,6 +1010,14 @@ ol.Map.prototype.isDef = function() {
};
/**
* @return {boolean} Is rendered.
*/
ol.Map.prototype.isRendered = function() {
return !goog.isNull(this.frameState_);
};
/**
* Render.
*/