@measurequick/measurequick-report-generator 1.0.12 → 1.0.13
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/index.js +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -75,11 +75,11 @@ function printHeaderData(reportName, techName, profilePicture, companyLogo) {
|
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
function printBodyData(geolocationMap) {
|
|
78
|
+
printMap(geolocationMap);
|
|
78
79
|
printSingleBodySection(templates.outdoorMeasurements, .25, 2.317, 1.55);
|
|
79
80
|
printSingleBodySection(templates.indoorMeasurements, 3.042, 5.109, 1.55);
|
|
80
81
|
printSingleBodySection(templates.systemInfo, 5.834, 7.9, 1.55);
|
|
81
82
|
printSingleBodySection(templates.performanceData, .25, 2, 4.455);
|
|
82
|
-
printMap(geolocationMap);
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
function printSingleBodySection(dataPoints, xLeft, xRight, y) {
|
|
@@ -112,7 +112,7 @@ function printProfilePicture(picturePlacement, techName, profilePicture) {
|
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
function printCompanyLogo(logoPlacement, companyLogo) {
|
|
115
|
-
var coords = templates.
|
|
115
|
+
var coords = templates.companyLogoCoordinates[picturePlacement];
|
|
116
116
|
doc.addImage(companyLogo, "JPEG", coords.x, coords.y, coords.w, coords.h);
|
|
117
117
|
}
|
|
118
118
|
|