Skip to content
Snippets Groups Projects
Commit 195208de authored by Armand Bahi's avatar Armand Bahi
Browse files

correction bug lancement impression

Closes #39
parent 96cbadab
Branches
Tags
No related merge requests found
...@@ -718,7 +718,6 @@ nsVmap.nsToolsManager.Print.prototype.printController.prototype.print = function ...@@ -718,7 +718,6 @@ nsVmap.nsToolsManager.Print.prototype.printController.prototype.print = function
var sOrientation = response['data']['data'][0]['rt_orientation_id']; var sOrientation = response['data']['data'][0]['rt_orientation_id'];
var mapImageSize = this_.printedMapSize_.realSize; var mapImageSize = this_.printedMapSize_.realSize;
var mapImageSizeCompare = this_.printedCompareMapSize_.realSize;
var overviewSize = this_.printedOverviewMapSize_.realSize; var overviewSize = this_.printedOverviewMapSize_.realSize;
var oJsonDefOptions = { var oJsonDefOptions = {
...@@ -734,7 +733,7 @@ nsVmap.nsToolsManager.Print.prototype.printController.prototype.print = function ...@@ -734,7 +733,7 @@ nsVmap.nsToolsManager.Print.prototype.printController.prototype.print = function
if(goog.isDefAndNotNull(opt_options.extentCompare)){ if(goog.isDefAndNotNull(opt_options.extentCompare)){
oJsonDefOptions.extentCompare = opt_options.extentCompare; oJsonDefOptions.extentCompare = opt_options.extentCompare;
oJsonDefOptions.mapIdCompare = opt_options.mapIdCompare; oJsonDefOptions.mapIdCompare = opt_options.mapIdCompare;
oJsonDefOptions.mapImageSizeCompare = mapImageSizeCompare; oJsonDefOptions.mapImageSizeCompare = this_.printedCompareMapSize_.realSize;
} }
var mapsJson = this_.getMapsJsonDef(oJsonDefOptions); var mapsJson = this_.getMapsJsonDef(oJsonDefOptions);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment