Merge Camera into Map

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

No files matched your search

+11 -2
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
*/