From 1af79ede29dd3761bb3539490d5a73918f03a26a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Wed, 18 Jul 2012 14:52:12 +0200 Subject: [PATCH] dom map renderer - add FIXMEs --- src/ol/dom/map.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ol/dom/map.js b/src/ol/dom/map.js index dd3484ee90..91e9c451e3 100644 --- a/src/ol/dom/map.js +++ b/src/ol/dom/map.js @@ -155,6 +155,8 @@ ol.dom.Map.prototype.createLayerRenderer = function(layer) { */ ol.dom.Map.prototype.handleCenterChanged = function() { goog.base(this, 'handleCenterChanged'); + // FIXME: shiftLayersPane_ and resetLayersPane_ should be called + // elsewhere as we may be frozen here if (goog.isDef(this.renderedCenter_)) { this.shiftLayersPane_(); } else { @@ -185,6 +187,8 @@ ol.dom.Map.prototype.handleLayerRemove = function(layer) { */ ol.dom.Map.prototype.handleResolutionChanged = function() { goog.base(this, 'handleResolutionChanged'); + // FIXME: resetLayersPane_ should be called + // elsewhere as we may be frozen here this.resetLayersPane_(); this.redraw(); };