changeset 5272:c84784486265 multi-geoms

Merged default into multi-geoms branch.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Tue, 09 Jun 2020 12:02:45 +0200
parents 569aaba23e20 (current diff) a97e79a07579 (diff)
children 9a903cdebd97
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/components/Pdftool.vue	Tue Jun 09 10:24:47 2020 +0200
+++ b/client/src/components/Pdftool.vue	Tue Jun 09 12:02:45 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;
       }