map renderer should call map.render instead of this.render

This commit is contained in:
Éric Lemoine
2012-08-21 06:55:57 +02:00
parent 042893a817
commit 95a2b3845c

View File

@@ -107,7 +107,7 @@ ol.dom.MapRenderer.prototype.handleCenterChanged = function() {
} else {
this.resetLayersPane_();
}
this.render();
map.render();
};
@@ -123,7 +123,7 @@ ol.dom.MapRenderer.prototype.handleResolutionChanged = function() {
// FIXME: resetLayersPane_ should be called
// elsewhere as we may be frozen here
this.resetLayersPane_();
this.render();
map.render();
};