s/POST_RENDER/POSTRENDER/
This commit is contained in:
+2
-2
@@ -43,7 +43,7 @@ goog.require('ol.renderer.Layer');
|
|||||||
* @enum {string}
|
* @enum {string}
|
||||||
*/
|
*/
|
||||||
ol.MapEventType = {
|
ol.MapEventType = {
|
||||||
POST_RENDER: 'postrender'
|
POSTRENDER: 'postrender'
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@@ -616,7 +616,7 @@ ol.Map.prototype.renderFrame_ = function() {
|
|||||||
if (goog.DEBUG) {
|
if (goog.DEBUG) {
|
||||||
this.logger.info('postrender');
|
this.logger.info('postrender');
|
||||||
}
|
}
|
||||||
this.dispatchEvent(ol.MapEventType.POST_RENDER);
|
this.dispatchEvent(ol.MapEventType.POSTRENDER);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -199,7 +199,7 @@ ol.renderer.webgl.TileLayer.prototype.bindFramebuffer_ =
|
|||||||
var map = this.getMap();
|
var map = this.getMap();
|
||||||
goog.events.listenOnce(
|
goog.events.listenOnce(
|
||||||
map,
|
map,
|
||||||
ol.MapEventType.POST_RENDER,
|
ol.MapEventType.POSTRENDER,
|
||||||
goog.partial(function(gl, framebuffer, texture) {
|
goog.partial(function(gl, framebuffer, texture) {
|
||||||
if (goog.DEBUG) {
|
if (goog.DEBUG) {
|
||||||
this.logger.info('freeing WebGL resources on postrender');
|
this.logger.info('freeing WebGL resources on postrender');
|
||||||
@@ -479,7 +479,7 @@ ol.renderer.webgl.TileLayer.prototype.render = function() {
|
|||||||
if (!goog.array.isEmpty(imagesToLoad)) {
|
if (!goog.array.isEmpty(imagesToLoad)) {
|
||||||
goog.events.listenOnce(
|
goog.events.listenOnce(
|
||||||
map,
|
map,
|
||||||
ol.MapEventType.POST_RENDER,
|
ol.MapEventType.POSTRENDER,
|
||||||
goog.partial(function(mapRenderer, imagesToLoad) {
|
goog.partial(function(mapRenderer, imagesToLoad) {
|
||||||
if (goog.DEBUG) {
|
if (goog.DEBUG) {
|
||||||
this.logger.info('uploading textures');
|
this.logger.info('uploading textures');
|
||||||
|
|||||||
Reference in New Issue
Block a user