TileSystem
instead@Deprecated public class Mercator extends Object implements MapViewConstants
Modifier and Type | Field and Description |
---|---|
(package private) static double |
DEG2RAD
Deprecated.
|
ANIMATION_DURATION_DEFAULT, ANIMATION_DURATION_LONG, ANIMATION_DURATION_SHORT, ANIMATION_SMOOTHNESS_DEFAULT, ANIMATION_SMOOTHNESS_HIGH, ANIMATION_SMOOTHNESS_LOW, DEBUGMODE, MAXIMUM_ZOOMLEVEL, MINIMUM_ZOOMLEVEL, NOT_SET
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)