diff --git a/public/assets/templates/CurrentMapWithHeader_A4_Portrait.svg b/public/assets/templates/CurrentMapWithHeader_A4_Portrait.svg new file mode 100644 index 000000000..8941f2323 --- /dev/null +++ b/public/assets/templates/CurrentMapWithHeader_A4_Portrait.svg @@ -0,0 +1,240 @@ + + + + + + + + + + + + + + + + + + $map(current) + $general.pdf.attr + +$general.pdf.attrBackground +$general.pdf.generatedWith + + + ${title} + + + $general.pdf.versionInfo + + $img(layouticon) + + + + + + + + + + diff --git a/src/Utils/svgToPdf.ts b/src/Utils/svgToPdf.ts index e413d3c5a..46f8fcaa9 100644 --- a/src/Utils/svgToPdf.ts +++ b/src/Utils/svgToPdf.ts @@ -915,6 +915,7 @@ export class SvgToPdf { | "poster_a3" | "poster_a2" | "current_view_a4" + |"current_view_a4_portrait" | "current_view_a3_portrait" | "current_view_a3_landscape", PdfTemplateInfo @@ -949,6 +950,12 @@ export class SvgToPdf { pages: ["./assets/templates/CurrentMapWithHeaderA4.svg"], isPublic: true, }, + current_view_a4_portrait: { + format: "a4", + orientation: "portrait", + pages: ["./assets/templates/CurrentMapWithHeader_A4_Portrait.svg"], + isPublic: true, + }, current_view_a3_landscape: { format: "a3", orientation: "landscape",