Class TileServlet.TileAddress5D
java.lang.Object
org.deltava.util.tile.TileAddress
org.deltava.servlet.TileServlet.TileAddress5D
- All Implemented Interfaces:
Serializable, Comparable<TileAddress>
- Enclosing class:
TileServlet
A class to store Tile Addresses including type name and date.
- Since:
- 5.0
- Version:
- 11.5
- Author:
- Luke
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class TileAddress
compareTo, equals, fromPixel, getChildren, getChildren, getLevel, getName, getParent, getParents, getPixelX, getPixelY, getX, getY, zoomToModifier and TypeMethodDescriptionintcompareTo(TileAddress addr2) Compares two addresses by comparing their levels, Y and X coordinates.booleanstatic TileAddressfromPixel(int px, int py, int zoom) Creates a new Tile Address from pixel coordinates.Returns the addresses of all of this Tile's children.getChildren(int level) Returns the addresses of all of this Tile's descendents at a particular zoom level.intgetLevel()Returns the Tile level.getName()Returns the base filename of this Tile.Returns this Tile's parent address.Returns the addresses of all of this Tile's parents.intReturns the X-coordinate of this tile within the global image.intReturns the Y-coordinate of this tile within the global image.intgetX()Returns the X-coordinate of this Tile.intgetY()Returns the Y-coordinate of this Tile.zoomTo(int newLevel) Returns the address of this Tile when zooming to another level.
-
Constructor Details
-
TileAddress5D
-
-
Method Details
-
getType
-
getDate
-
hashCode
public int hashCode()- Overrides:
hashCodein classTileAddress
-
toString
Description copied from class:TileAddressReturns the coordinates and level of the Tile.- Overrides:
toStringin classTileAddress
-