public class TileCoordinate
extends java.lang.Object
| Constructor and Description |
|---|
TileCoordinate(int x,
int y,
byte zoomlevel)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
int |
getX() |
int |
getY() |
byte |
getZoomlevel() |
int |
hashCode() |
java.lang.String |
toString() |
java.util.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 boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int getX()
public int getY()
public byte getZoomlevel()
public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.util.List<TileCoordinate> translateToZoomLevel(byte zoomlevelNew)
zoomlevelNew - the zoom level