public class TileCoordinate extends Object
| Constructor and Description |
|---|
TileCoordinate(int x,
int y,
byte zoomlevel)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getX() |
int |
getY() |
byte |
getZoomlevel() |
int |
hashCode() |
String |
toString() |
List<TileCoordinate> |
translateToZoomLevel(byte zoomlevelNew)
Computes which tile on a lower zoom level covers this given tile or which tiles on a higher zoom level together
cover this tile.
|
public TileCoordinate(int x,
int y,
byte zoomlevel)
x - the x value of the tile on the given zoom levely - the y value of the tile on the given zoom levelzoomlevel - the zoom levelpublic int getX()
public int getY()
public byte getZoomlevel()
public List<TileCoordinate> translateToZoomLevel(byte zoomlevelNew)
zoomlevelNew - the zoom levelCopyright © 2014 mapsforge.org