Merge pull request #7073 from gberaudo/notify_hidden_layer_group_changes

Make ol.layer.Group change handling consistent
This commit is contained in:
Frédéric Junod
2017-08-04 08:29:57 +02:00
committed by GitHub

View File

@@ -80,9 +80,7 @@ ol.layer.Group.prototype.createRenderer = function(mapRenderer) {};
* @private * @private
*/ */
ol.layer.Group.prototype.handleLayerChange_ = function() { ol.layer.Group.prototype.handleLayerChange_ = function() {
if (this.getVisible()) {
this.changed(); this.changed();
}
}; };