Class TileRef
java.lang.Object
org.eclipse.nebula.widgets.geomap.internal.TileRef
public final class TileRef
extends java.lang.Object
A single tile in the map. A tile has an x and y coordinate, but both only
make sense in the context of a given zoom level. The tile's zoom level is
given by
z
.
For caching the tiles support some equals and hashCode behavior that makes them suitable as key-objects in java-util collections.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description TileRef(int x, int y, int z)
Initializes this TileRef with x, y and z coordinates -
Method Summary
-
Field Details
-
Constructor Details
-
TileRef
public TileRef(int x, int y, int z)Initializes this TileRef with x, y and z coordinates- Parameters:
x
- the x coordinatey
- the y coordinatez
- the z coordinate
-
-
Method Details