Remove unused handleLayerVisibleChange

This commit is contained in:
Tim Schaub
2013-12-11 01:38:44 -07:00
parent a792a224f6
commit 5a5d1dec40
2 changed files with 0 additions and 18 deletions

View File

@@ -235,16 +235,6 @@ goog.exportProperty(
ol.layer.Base.prototype.getVisible);
/**
* @protected
*/
ol.layer.Base.prototype.handleLayerVisibleChange = function() {
if (this.getSourceState() == ol.source.State.READY) {
this.dispatchChangeEvent();
}
};
/**
* Adjust the layer brightness. A value of -1 will render the layer completely
* black. A value of 0 will leave the brightness unchanged. A value of 1 will

View File

@@ -79,14 +79,6 @@ ol.layer.Group.prototype.handleLayerChange_ = function() {
};
/**
* @inheritDoc
*/
ol.layer.Group.prototype.handleLayerVisibleChange = function() {
this.dispatchChangeEvent();
};
/**
* @param {goog.events.Event} event Event.
* @private