Merge Camera into Map

This commit is contained in:
Tom Payne
2012-07-14 18:34:02 +02:00
parent b80ce1fc26
commit fcf552ea40
5 changed files with 93 additions and 197 deletions

View File

@@ -94,8 +94,8 @@ ol.webgl.Map.prototype.getGL = function() {
/**
* @inheritDoc
*/
ol.webgl.Map.prototype.handleCameraPropertyChanged = function() {
goog.base(this, 'handleCameraPropertyChanged');
ol.webgl.Map.prototype.handleCenterChanged = function() {
goog.base(this, 'handleCenterChanged');
this.redraw_();
};
@@ -118,6 +118,15 @@ ol.webgl.Map.prototype.handleLayerRemove = function(layer) {
};
/**
* @inheritDoc
*/
ol.webgl.Map.prototype.handleResolutionChanged = function() {
goog.base(this, 'handleResolutionChanged');
this.redraw_();
};
/**
* @inheritDoc
*/