Always dispatch change events on load/opacity/visible changes

This commit is contained in:
Tom Payne
2013-01-24 23:37:20 +01:00
parent 43fe004917
commit 4701d117f7
3 changed files with 9 additions and 51 deletions
-24
View File
@@ -46,30 +46,6 @@ ol.renderer.dom.Layer.prototype.getTarget = function() {
};
/**
* @inheritDoc
*/
ol.renderer.dom.Layer.prototype.handleLayerLoad = function() {
this.getMap().render();
};
/**
* @inheritDoc
*/
ol.renderer.dom.Layer.prototype.handleLayerOpacityChange = function() {
this.getMap().render();
};
/**
* @inheritDoc
*/
ol.renderer.dom.Layer.prototype.handleLayerVisibleChange = function() {
this.getMap().render();
};
/**
* @param {ol.FrameState} frameState Frame state.
* @param {ol.layer.LayerState} layerState Layer state.