TileSystem
instead@Deprecated public class Mercator extends Object
Modifier and Type | Field and Description |
---|---|
(package private) static double |
DEG2RAD
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static BoundingBox |
getBoundingBoxFromCoords(double left,
double top,
double right,
double bottom,
int zoom)
Deprecated.
Get bounding box from reverse Mercator projection.
|
static BoundingBox |
getBoundingBoxFromPointInMapTile(Point aMapTile,
int aZoom)
Deprecated.
Get bounding box from reverse Mercator projection.
|
static Point |
projectGeoPoint(double aLat,
double aLon,
int aZoom,
Point aReuse)
Deprecated.
Mercator projection of GeoPoint at given zoom level
|
static Point |
projectGeoPoint(IGeoPoint aGeoPoint,
int aZoom,
Point aReuse)
Deprecated.
Mercator projection of GeoPoint at given zoom level
|
static GeoPoint |
projectPoint(int x,
int y,
int aZoom)
Deprecated.
Reverse Mercator projection of Point at given zoom level
|
static double |
tile2lat(int y,
int aZoom)
Deprecated.
|
static double |
tile2lon(int x,
int aZoom)
Deprecated.
|
static final double DEG2RAD
public static Point projectGeoPoint(IGeoPoint aGeoPoint, int aZoom, Point aReuse)
aGeoPoint
- aZoom
- zoom levelaReuse
- public static Point projectGeoPoint(double aLat, double aLon, int aZoom, Point aReuse)
aLat
- latitude in degrees [-89 to 89]aLon
- longitude in degrees [-180 to 180]aZoom
- zoom levelaReuse
- public static BoundingBox getBoundingBoxFromCoords(double left, double top, double right, double bottom, int zoom)
left
- top
- right
- bottom
- zoom
- public static BoundingBox getBoundingBoxFromPointInMapTile(Point aMapTile, int aZoom)
aMapTile
- aZoom
- public static GeoPoint projectPoint(int x, int y, int aZoom)
public static double tile2lon(int x, int aZoom)
public static double tile2lat(int y, int aZoom)