Move common event handlers into base class

This commit is contained in:
Tom Payne
2013-01-13 13:30:08 +01:00
parent 9764e76975
commit be04053ef1
3 changed files with 7 additions and 52 deletions
-25
View File
@@ -369,14 +369,6 @@ ol.renderer.webgl.Map.prototype.handleBackgroundColorChanged = function() {
};
/**
* @inheritDoc
*/
ol.renderer.webgl.Map.prototype.handleViewPropertyChanged = function() {
this.getMap().render();
};
/**
* @param {goog.events.Event} event Event.
* @protected
@@ -386,23 +378,6 @@ ol.renderer.webgl.Map.prototype.handleLayerRendererChange = function(event) {
};
/**
* @inheritDoc
*/
ol.renderer.webgl.Map.prototype.handleSizeChanged = function() {
this.getMap().render();
};
/**
* @inheritDoc
*/
ol.renderer.webgl.Map.prototype.handleViewChanged = function() {
goog.base(this, 'handleViewChanged');
this.getMap().render();
};
/**
* @param {goog.events.Event} event Event.
* @protected