Skip to content

Commit

Permalink
Revise getReasonableScale to handle top set to 90.
Browse files Browse the repository at this point in the history
  • Loading branch information
mdeutch3 committed Jan 3, 2017
1 parent 9faa7c8 commit ac8df53
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web/js/src/sec/web/renderer/MultiPointHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,8 @@ sec.web.renderer.MultiPointHandler = (function () {
return 7.573e7; //was origScale
else if (left.equalsIgnoreCase("180") && right.equalsIgnoreCase("-180"))
return 7.573e7; //was origScale
else if (top.equalsIgnoreCase("90") || bottom.equalsIgnoreCase("-90"))
return 7.573e7; //was origScale
var ul = new armyc2.c2sd.JavaLineArray.POINT2(left, top);
var ur = new armyc2.c2sd.JavaLineArray.POINT2(right, top);
//var ptLeft=new armyc2.c2sd.JavaLineArray.POINT2(left,top);
Expand Down

0 comments on commit ac8df53

Please sign in to comment.