Skip to content

Commit

Permalink
Add the northing offset back in - should have been removed downstream
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan Wilking committed Feb 26, 2021
1 parent fbbfbf5 commit 6442082
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/usng.ts
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,7 @@ extend(Converter.prototype, {
LLtoUTMwithNS: function(lat, lon, utmcoords, zone) {
this.LLtoUTM(lat, lon, utmcoords, zone);
if (utmcoords[1] < 0) {
utmcoords[1] += this.NORTHING_OFFSET;
utmcoords[3] = 'S';
} else {
utmcoords[3] = 'N';
Expand Down

0 comments on commit 6442082

Please sign in to comment.