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

View File

@@ -63,31 +63,6 @@ ol.renderer.dom.Map.prototype.createLayerRenderer = function(layer) {
};
/**
* @inheritDoc
*/
ol.renderer.dom.Map.prototype.handleViewPropertyChanged = function() {
this.getMap().render();
};
/**
* @inheritDoc
*/
ol.renderer.dom.Map.prototype.handleSizeChanged = function() {
this.getMap().render();
};
/**
* @inheritDoc
*/
ol.renderer.dom.Map.prototype.handleViewChanged = function() {
goog.base(this, 'handleViewChanged');
this.getMap().render();
};
/**
* @inheritDoc
*/