ebta-workflow-prod 4.0.13 → 4.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ebta-workflow-prod",
3
3
  "private": false,
4
- "version": "4.0.13",
4
+ "version": "4.0.14",
5
5
  "description": "",
6
6
  "license": "UNLICENSED",
7
7
  "author": "",
@@ -471,8 +471,8 @@ export default class PDFMapGeneratorActivity implements IActivityHandler {
471
471
  newPage.drawImage(image10, {
472
472
  x: 40,
473
473
  y: 145,
474
- width: lableSize,
475
- height: lableSize * (image10.height / image10.width),
474
+ width: 60,
475
+ height: 60 * (image10.height / image10.width),
476
476
  });
477
477
  console.log('image10 drawn successfully')
478
478
  }
@@ -616,10 +616,17 @@ export default class PDFMapGeneratorActivity implements IActivityHandler {
616
616
  console.log('bold font embed successful')
617
617
  if (inputs.template == 'VMP') {
618
618
  newPage.drawText('Maximum Speed 10KM/h within Work Area', {
619
- x: (28 + 151),
619
+ x: (28 + 111),
620
620
  y: 145,
621
- size: 30,
622
- color: rgb(1, 0, 0), // red color, IGNORE VSCODE COLOR
621
+ size: 25,
622
+ color: rgb(0, 0, 0), // WHITE color, IGNORE VSCODE COLOR
623
+ font: boldFont,
624
+ });
625
+ newPage.drawText('Maximum Speed 10KM/h within Work Area', {
626
+ x: (28 + 109),
627
+ y: 147,
628
+ size: 25,
629
+ color: rgb(1, 1, 1), // WHITE color, IGNORE VSCODE COLOR
623
630
  font: boldFont,
624
631
  });
625
632
  console.log('speed limit text inserted')
@@ -639,7 +646,7 @@ export default class PDFMapGeneratorActivity implements IActivityHandler {
639
646
  width: buttonW,
640
647
  height: buttonH,
641
648
  });
642
-
649
+
643
650
  newPage.drawText('Go to EBTA GIS', {
644
651
  x: buttonX + 5,
645
652
  y: buttonY + 22,