Add ol.Map#isRendered
This commit is contained in:
@@ -1010,6 +1010,14 @@ ol.Map.prototype.isDef = function() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return {boolean} Is rendered.
|
||||||
|
*/
|
||||||
|
ol.Map.prototype.isRendered = function() {
|
||||||
|
return !goog.isNull(this.frameState_);
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Render.
|
* Render.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user