No need for handleLayerChange in base layer
This commit is contained in:
@@ -240,16 +240,6 @@ goog.exportProperty(
|
||||
ol.layer.Base.prototype.getVisible);
|
||||
|
||||
|
||||
/**
|
||||
* @protected
|
||||
*/
|
||||
ol.layer.Base.prototype.handleLayerChange = function() {
|
||||
if (this.getVisible() && this.getSourceState() == ol.source.State.READY) {
|
||||
this.dispatchChangeEvent();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @protected
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user