Commit 29fe6c6f authored by Jacob Kaufman's avatar Jacob Kaufman
Browse files

Update AstroMath.js

Fixed postive west for 0-360 longitude domain
parent e1b94c30
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -113,9 +113,7 @@ export default class AstroMath {
    if (normalRange) {
      convertedLng *= -1;
    } else {
      if (convertedLng < 0){
        convertedLng += 360; 
      }
      convertedLng = 360 - convertedLng;
    }

    return convertedLng;