dom map renderer - add FIXMEs

This commit is contained in:
Éric Lemoine
2012-07-18 14:52:12 +02:00
parent 3724fca57d
commit 1af79ede29

View File

@@ -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();
};