map renderer should call map.render instead of this.render
This commit is contained in:
1 parent
042893a817
commit
95a2b3845c
1 file changed
+2
-2
@@ -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();
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user