Browse Source

修复bug

zansimple 8 months ago
parent
commit
9ae04a8632
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Models/SimulationCommon/Rectangular_Area_Search_Function.cs

+ 2 - 2
Models/SimulationCommon/Rectangular_Area_Search_Function.cs

@@ -20,14 +20,14 @@ public class Rectangular_Area_Search_Function
     }
 
     //反墨卡托投影
-    public static double RMokatuoLon(double y)
+    public static double RMokatuoLat(double y)
     {
         double R = 6378.137;
         double lat = Math.Atan(Math.Exp(y / R)) * 360 / Math.PI - 90;
         return lat;
     }
 
-    public static double RMokatuoLat(double x)
+    public static double RMokatuoLon(double x)
     {
         double R = 6378.137;
         double lon = x * 180 / (R * Math.PI);