Avoid duplicate change event on visibility change

This commit is contained in:
Tim Schaub
2013-12-11 01:28:55 -07:00
parent 858fe14163
commit a792a224f6
2 changed files with 19 additions and 8 deletions

View File

@@ -71,11 +71,6 @@ ol.layer.Base = function(options) {
values.minResolution : 0;
this.setValues(values);
goog.events.listen(this,
ol.Object.getChangeEventType(ol.layer.LayerProperty.VISIBLE),
this.handleLayerVisibleChange, false, this);
};
goog.inherits(ol.layer.Base, ol.Object);