diff --git a/frontend-js/src/main/js/map/canvas/OpenLayers/OpenLayerCanvas.js b/frontend-js/src/main/js/map/canvas/OpenLayers/OpenLayerCanvas.js index 968ad1422ae5478b9f553c94b757a03fb6b2dd4a..915d50a0b77289c7ad771f4864a631d8e437e74f 100644 --- a/frontend-js/src/main/js/map/canvas/OpenLayers/OpenLayerCanvas.js +++ b/frontend-js/src/main/js/map/canvas/OpenLayers/OpenLayerCanvas.js @@ -493,7 +493,8 @@ OpenLayerCanvas.prototype.triggerListeners = function (type, data) { var self = this; if (type === "resize") { return Promise.delay(200).then(function () { - return self.getOpenLayersMap().updateSize(); + self.getOpenLayersMap().updateSize(); + return self.callListeners("center_changed"); }); } else if (type === "maptypeid_changed") { return self.callListeners("maptypeid_changed");