public class ZGeoTileUtil
extends java.lang.Object
构造器和说明 |
---|
ZGeoTileUtil() |
限定符和类型 | 方法和说明 |
---|---|
static double[] |
getBoundingByTileNumber(int x,
int y,
int zoom)
行列号获取切片经纬度范围
|
static double[] |
getLatLonByTileNumber(int x,
int y,
int zoom)
行列号转经纬度
|
static int[] |
getTileNumberByLatLon(double lat,
double lon,
int zoom)
经纬度转行列号
|
static double |
tile2lat(int y,
int z)
列号转纬度
|
static double |
tile2lon(int x,
int z)
行号转经度
|
public static int[] getTileNumberByLatLon(double lat, double lon, int zoom)
lat
- 经度lon
- 纬度zoom
- 级别public static double[] getLatLonByTileNumber(int x, int y, int zoom)
x
- 行号y
- 列号zoom
- 级别public static double[] getBoundingByTileNumber(int x, int y, int zoom)
x
- 行号y
- 列号zoom
- 级别public static double tile2lon(int x, int z)
x
- 行号z
- 级别public static double tile2lat(int y, int z)
y
- 列号z
- 级别