Merge Camera into Map
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user