Commit f757db77 authored by Jacob Kaufman's avatar Jacob Kaufman
Browse files

Update AstroMath.js

parent 54d6cdbf
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -86,11 +86,6 @@ export default class AstroMath {
   */
  lonTo360(lon, projection) {
    let convertedLon = lon;

    if (projection === "EPSG:4326") {
      convertedLon -= 180;
    }

    if (convertedLon < 0) {
      convertedLon += 360;
    }