Fix typo in WebGL map renderer
This commit is contained in:
@@ -153,7 +153,7 @@ ol.renderer.webgl.Map = function(container, map) {
|
|||||||
goog.events.listen(this.canvas_, ol.webgl.WebGLContextEventType.LOST,
|
goog.events.listen(this.canvas_, ol.webgl.WebGLContextEventType.LOST,
|
||||||
this.handleWebGLContextLost, false, this);
|
this.handleWebGLContextLost, false, this);
|
||||||
goog.events.listen(this.canvas_, ol.webgl.WebGLContextEventType.RESTORED,
|
goog.events.listen(this.canvas_, ol.webgl.WebGLContextEventType.RESTORED,
|
||||||
this.handleWebGLContextResourced, false, this);
|
this.handleWebGLContextRestored, false, this);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @private
|
* @private
|
||||||
@@ -433,9 +433,9 @@ ol.renderer.webgl.Map.prototype.handleWebGLContextLost = function(event) {
|
|||||||
/**
|
/**
|
||||||
* @protected
|
* @protected
|
||||||
*/
|
*/
|
||||||
ol.renderer.webgl.Map.prototype.handleWebGLContextResourced = function() {
|
ol.renderer.webgl.Map.prototype.handleWebGLContextRestored = function() {
|
||||||
if (goog.DEBUG) {
|
if (goog.DEBUG) {
|
||||||
this.logger.info('WebGLContextResourced');
|
this.logger.info('WebGLContextRestored');
|
||||||
}
|
}
|
||||||
this.initializeGL_();
|
this.initializeGL_();
|
||||||
this.getMap().render();
|
this.getMap().render();
|
||||||
|
|||||||
Reference in New Issue
Block a user