Make renderer layer management private

This commit is contained in:
Tom Payne
2013-04-11 23:50:25 +02:00
parent f0106f391a
commit d855a35446
2 changed files with 46 additions and 37 deletions

View File

@@ -463,7 +463,7 @@ ol.renderer.webgl.Map.prototype.handleWebGLContextLost = function(event) {
this.programCache_ = {};
this.textureCache_.clear();
this.textureCacheFrameMarkerCount_ = 0;
goog.object.forEach(this.layerRenderers, function(layerRenderer) {
goog.object.forEach(this.getLayerRenderers(), function(layerRenderer) {
layerRenderer.handleWebGLContextLost();
});
};