return dist;
}
-
// TODO: these only work with Spherical Mercator
public static double xToLongitude(double x) {
return x;
}
-
+
public static double yToLatitude(double y) {
double rad = Math.toRadians(y);
double sinh = Math.sinh(rad);
double finald = Math.toDegrees(atan);
return finald;
}
-
+
public static double longitudeToX(double lon) {
return lon;
}