public class WGS84MercatorToLngLatUtil extends Object
| 构造器和说明 |
|---|
WGS84MercatorToLngLatUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static Double[] |
lonLatToMercator(Double lat,
Double lng)
经纬度转平面坐标(墨卡托投影)
|
static Double[] |
mercatorToLonLat(Double X,
Double Y)
墨卡托转经纬度
|
EarthPoint2D |
mercatorToWgs84(Point2D point2D)
墨卡托转WGS84
|
Point2D |
wgs84ToMercator(EarthPoint2D earthPoint2D)
WGS84转墨卡托坐标
|
public EarthPoint2D mercatorToWgs84(Point2D point2D)
point2D - 墨卡托坐标public Point2D wgs84ToMercator(EarthPoint2D earthPoint2D)
earthPoint2D - WGS84坐标public static Double[] lonLatToMercator(Double lat, Double lng)
lat - 维度lng - 经度Copyright © 2021. All rights reserved.