This commit is contained in:
2022-09-13 10:25:14 +08:00
parent 36c932625b
commit 808cd95909
21 changed files with 1004 additions and 187 deletions
@@ -257,4 +257,9 @@ public class GeoUtils {
ret += (150.0 * Math.sin(x / 12.0 * pi) + 300.0 * Math.sin(x / 30.0 * pi)) * 2.0 / 3.0;
return ret;
}
public static void main(String[] args){
Map<String, Double> location = gps84ToGcj02(31.218024629574998,121.36562884455);
System.out.println(location.toString());
}
}