Skip to content

Commit

Permalink
fix 注释
Browse files Browse the repository at this point in the history
方法注释,经纬度写反了。 经纬度反着传入,误差会在 30~90m
  • Loading branch information
ichengzi authored Oct 21, 2021
1 parent a00d36f commit 2dfad41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/me/demo/util/geo/CoordinateTransformUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ public static double[] gcj02tobd09(double lng, double lat) {
* 百度坐标系(BD-09)转火星坐标系(GCJ-02)
*
* @see 百度——>谷歌、高德
* @param lng 百度坐标纬度
* @param lat 百度坐标经度
* @param lng 百度坐标经度
* @param lat 百度坐标维度
* @return 火星坐标数组
*/
public static double[] bd09togcj02(double bd_lon, double bd_lat) {
Expand Down

0 comments on commit 2dfad41

Please sign in to comment.