| Package | Description |
|---|---|
| net.dreamlu.mica.core.geo |
| Modifier and Type | Method and Description |
|---|---|
static GeoPoint |
GeoUtil.bd09ToGcj02(double lon,
double lat)
百度坐标系 (BD-09) 与 火星坐标系 (GCJ-02)的转换
即 百度 转 谷歌、高德
|
static GeoPoint |
GeoUtil.bd09toWgs84(double lon,
double lat)
百度坐标系 (BD-09) 与 WGS84 的转换
|
static GeoPoint |
GeoUtil.gcj02ToBd09(double lon,
double lat)
火星坐标系 (GCJ-02) 与百度坐标系 (BD-09) 的转换
|
static GeoPoint |
GeoUtil.gcj02ToWgs84(double lon,
double lat)
火星坐标系 (GCJ-02) 转换为 WGS84
|
static GeoPoint |
GeoUtil.mercatorToWgs84(double mercatorX,
double mercatorY)
墨卡托投影 转为 WGS84 坐标
|
GeoPoint |
GeoPoint.offset(GeoPoint offset)
当前坐标偏移指定坐标
|
abstract GeoPoint |
GeoType.toBD09(double lon,
double lat)
转换成 百度坐标系
|
abstract GeoPoint |
GeoType.toGCJ02(double lon,
double lat)
转换成 火星坐标系
|
abstract GeoPoint |
GeoType.toWGS84(double lon,
double lat)
转换成 地球坐标系
|
static GeoPoint |
GeoUtil.wgs84ToBd09(double lon,
double lat)
WGS84 坐标转为 百度坐标系 (BD-09) 坐标
|
static GeoPoint |
GeoUtil.wgs84ToGcj02(double lon,
double lat)
WGS84 转换为 火星坐标系 (GCJ-02)
|
static GeoPoint |
GeoUtil.wgs84ToMercator(double lon,
double lat)
WGS84 坐标转为 墨卡托投影
|
| Modifier and Type | Method and Description |
|---|---|
GeoPoint |
GeoPoint.offset(GeoPoint offset)
当前坐标偏移指定坐标
|
Copyright © 2024. All rights reserved.