shuhao 2 weeks ago
parent
commit
3c7f0edc57
1 changed files with 2 additions and 2 deletions
  1. 2 2
      common/src/main/java/com/flyer/util/GeoCastUtil.java

+ 2 - 2
common/src/main/java/com/flyer/util/GeoCastUtil.java

@@ -297,8 +297,8 @@ public class GeoCastUtil {
     // 假设的参数113.746646,22.970229
     private static final double REFERENCE_LATITUDE = 22.970229; // 参考点的纬度
     private static final double REFERENCE_LONGITUDE = 113.746646; // 参考点的经度
-    private static final double M_PER_PIXEL_X = 0.001; // 每个像素的米数(x方向)
-    private static final double M_PER_PIXEL_Y = 0.001; // 每个像素的米数(y方向)
+    private static final double M_PER_PIXEL_X = 100; // 每个像素的米数(x方向)
+    private static final double M_PER_PIXEL_Y = 100; // 每个像素的米数(y方向)
 
     public static Coordinate pixelToLatLng(double pixelX, double pixelY, double imageWidth, double imageHeight) {
         // 计算像素到米的转换