Skip to content

Commit

Permalink
Print: take care of map projection for redlining
Browse files Browse the repository at this point in the history
  • Loading branch information
nboisteault committed Apr 11, 2024
1 parent 1db4784 commit b603fd8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion assets/src/components/Print.js
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit b603fd8

Please sign in to comment.