Add ol.Layer.isReady

This commit is contained in:
Tom Payne
2012-07-27 23:34:11 +02:00
parent 04f71183e8
commit 6ceeac2427

View File

@@ -107,6 +107,14 @@ ol.Layer.prototype.getVisible = function() {
};
/**
* @return {boolean} Is ready.
*/
ol.Layer.prototype.isReady = function() {
return this.getStore().isReady();
};
/**
* @param {number} brightness Brightness.
*/