Move opt_useCapture arg to the end of the list
This commit is contained in:
committed by
Andreas Hocevar
parent
dc0393acff
commit
80df1f5ae8
@@ -63,7 +63,7 @@ ol.layer.Layer = function(options) {
|
||||
|
||||
ol.events.listen(this,
|
||||
ol.Object.getChangeEventType(ol.layer.LayerProperty.SOURCE),
|
||||
this.handleSourcePropertyChange_, false, this);
|
||||
this.handleSourcePropertyChange_, this);
|
||||
|
||||
var source = options.source ? options.source : null;
|
||||
this.setSource(source);
|
||||
@@ -145,7 +145,7 @@ ol.layer.Layer.prototype.handleSourcePropertyChange_ = function() {
|
||||
var source = this.getSource();
|
||||
if (source) {
|
||||
this.sourceChangeKey_ = ol.events.listen(source,
|
||||
ol.events.EventType.CHANGE, this.handleSourceChange_, false, this);
|
||||
ol.events.EventType.CHANGE, this.handleSourceChange_, this);
|
||||
}
|
||||
this.changed();
|
||||
};
|
||||
@@ -179,9 +179,9 @@ ol.layer.Layer.prototype.setMap = function(map) {
|
||||
layerState.zIndex = Infinity;
|
||||
evt.frameState.layerStatesArray.push(layerState);
|
||||
evt.frameState.layerStates[goog.getUid(this)] = layerState;
|
||||
}, false, this);
|
||||
}, this);
|
||||
this.mapRenderKey_ = ol.events.listen(
|
||||
this, ol.events.EventType.CHANGE, map.render, false, map);
|
||||
this, ol.events.EventType.CHANGE, map.render, map);
|
||||
this.changed();
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user