map renderer should call map.render instead of this.render
This commit is contained in:
@@ -107,7 +107,7 @@ ol.dom.MapRenderer.prototype.handleCenterChanged = function() {
|
|||||||
} else {
|
} else {
|
||||||
this.resetLayersPane_();
|
this.resetLayersPane_();
|
||||||
}
|
}
|
||||||
this.render();
|
map.render();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@@ -123,7 +123,7 @@ ol.dom.MapRenderer.prototype.handleResolutionChanged = function() {
|
|||||||
// FIXME: resetLayersPane_ should be called
|
// FIXME: resetLayersPane_ should be called
|
||||||
// elsewhere as we may be frozen here
|
// elsewhere as we may be frozen here
|
||||||
this.resetLayersPane_();
|
this.resetLayersPane_();
|
||||||
this.render();
|
map.render();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user