dom renderer - reset the layers pane when center changes

This commit is contained in:
Éric Lemoine
2012-07-18 11:13:32 +02:00
parent f491a5a4d2
commit db4603940d
2 changed files with 8 additions and 3 deletions
+2 -1
View File
@@ -105,7 +105,8 @@ ol.dom.Map.prototype.createLayerRenderer = function(layer) {
*/
ol.dom.Map.prototype.handleCenterChanged = function() {
goog.base(this, 'handleCenterChanged');
//this.shiftLayersPane_();
this.resetLayersPane_();
this.redraw();
};