From 8f2321933d10fb23582671f2fbc696e1f5e88478 Mon Sep 17 00:00:00 2001 From: mahmoudadel54 Date: Mon, 20 May 2024 10:33:27 +0300 Subject: [PATCH] #10322: Fix scale selector to make it compatible with different projections Description: - fix the bug by using the updated scaleZoom value instead of the projected value --- web/client/plugins/print/Projection.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/client/plugins/print/Projection.jsx b/web/client/plugins/print/Projection.jsx index 86175f72a9..84534fbc27 100644 --- a/web/client/plugins/print/Projection.jsx +++ b/web/client/plugins/print/Projection.jsx @@ -25,7 +25,7 @@ function mapTransformer(state, map) { return { ...map, zoom: zoom, - scaleZoom: zoom, + scaleZoom: map.scaleZoom, scale: scales[zoom], projection: srs };