Mercurial > gemma
changeset 5265:a97e79a07579
client: fix resetting the map resolution by canceling the pdf-generation
author | Fadi Abbud <fadi.abbud@intevation.de> |
---|---|
date | Tue, 09 Jun 2020 11:16:02 +0200 |
parents | 528fa710650b |
children | 855e586b42e2 c84784486265 |
files | client/src/components/Pdftool.vue |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/client/src/components/Pdftool.vue Thu Jun 04 11:29:37 2020 +0200 +++ b/client/src/components/Pdftool.vue Tue Jun 09 11:16:02 2020 +0200 @@ -559,7 +559,7 @@ this.openLayersMap().setSize(this.mapSize); this.openLayersMap() .getView() - .fit(this.resolution, { size: this.mapSize }); + .setResolution(this.resolution); } finally { this.readyToGenerate = true; }