From b603fd8cc455b6c52991206c75214ab8ff6de660 Mon Sep 17 00:00:00 2001 From: nboisteault Date: Thu, 11 Apr 2024 16:34:35 +0200 Subject: [PATCH] Print: take care of map projection for redlining --- assets/src/components/Print.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/assets/src/components/Print.js b/assets/src/components/Print.js index b0503b9e25..1765402acd 100644 --- a/assets/src/components/Print.js +++ b/assets/src/components/Print.js @@ -324,7 +324,10 @@ export default class Print extends HTMLElement { highlightGeom.push(circleString); } else { - highlightGeom.push(formatWKT.writeFeature(featureDrawn)); + highlightGeom.push(formatWKT.writeFeature(featureDrawn, { + featureProjection: mainLizmap.projection, + dataProjection: projectProjection + })); } highlightSymbol.push(mainLizmap.digitizing.getFeatureDrawnSLD(index));