This commit is contained in:
2025-01-16 17:29:08 +08:00
parent 82ef32206f
commit e0aa49ebc3
23 changed files with 1237 additions and 151 deletions
@@ -3,6 +3,7 @@ package com.fangjia.core.util;
import java.util.HashMap;
import java.util.Map;
public class GeoUtils {
public static final String LAT ="lat";
@@ -258,6 +259,8 @@ public class GeoUtils {
return ret;
}
public static void main(String[] args){
Map<String, Double> location = gps84ToGcj02(31.218024629574998,121.36562884455);
System.out.println(location.toString());