This commit is contained in:
Looly
2022-02-24 11:37:51 +08:00
parent 169bc95d83
commit 4b71831822
2 changed files with 3 additions and 2 deletions

View File

@@ -167,7 +167,7 @@ public class CoordinateUtil {
dlng = (dlng * 180.0) / (RADIUS / sqrtMagic * Math.cos(lat / 180.0 * PI) * PI);
dlat = (dlat * 180.0) / ((RADIUS * (1 - CORRECTION_PARAM)) / (magic * sqrtMagic) * PI);
if(!isPlus){
if(false == isPlus){
dlng = - dlng;
dlat = - dlat;
}