Commit 4689f14048751c6178384d788654bfc1e96e032f

Authored by 李强
1 parent 7065e32b

TransGPS 类改动

src/main/java/com/bsth/util/TransGPS.java
@@ -82,7 +82,7 @@ public class TransGPS { @@ -82,7 +82,7 @@ public class TransGPS {
82 return mgLoc; 82 return mgLoc;
83 } 83 }
84 84
85 - Location transformFromGCJToWGS(Location gcLoc) { 85 + public static Location transformFromGCJToWGS(Location gcLoc) {
86 Location wgLoc = new Location(); 86 Location wgLoc = new Location();
87 wgLoc.lat = gcLoc.lat; 87 wgLoc.lat = gcLoc.lat;
88 wgLoc.lng = gcLoc.lng; 88 wgLoc.lng = gcLoc.lng;