Commit 4689f14048751c6178384d788654bfc1e96e032f
1 parent
7065e32b
TransGPS 类改动
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/com/bsth/util/TransGPS.java
| ... | ... | @@ -82,7 +82,7 @@ public class TransGPS { |
| 82 | 82 | return mgLoc; |
| 83 | 83 | } |
| 84 | 84 | |
| 85 | - Location transformFromGCJToWGS(Location gcLoc) { | |
| 85 | + public static Location transformFromGCJToWGS(Location gcLoc) { | |
| 86 | 86 | Location wgLoc = new Location(); |
| 87 | 87 | wgLoc.lat = gcLoc.lat; |
| 88 | 88 | wgLoc.lng = gcLoc.lng; | ... | ... |