public class TileMatrix
extends java.lang.Object
implements java.io.Serializable
The tile matrix.
Modifier and Type | Field and Description |
---|---|
java.lang.String |
identifier
The tile matrix name.
|
int |
matrixHeight
The height of the tile matrix, represented by the number of tiles in the Y direction.
|
int |
matrixWidth
The width of the tile matrix, represented by the number of tiles in the X direction.
|
double |
resolution
Tile matrix resolution.
|
double |
scaleDenominator
The scale denominator.
|
int |
tileHeight
The height of each tile, in pixels.
|
int |
tileWidth
The width of each tile, in pixels.
|
java.lang.String |
topLeftCorner
the coordinates of the top-left corner.
|
Constructor and Description |
---|
TileMatrix()
The Constructor.
|
TileMatrix(java.lang.String identifier, double scaleDenominator, double resolution, java.lang.String topLeftCorner, int tileWidth, int tileHeight, int matrixWidth, int matrixHeight)
The Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Determines whether the specified object is equal to the
TileMatrix object. |
int |
hashCode()
Get the hash code of the
TileMatrix object. |
public java.lang.String identifier
The tile matrix name.
public double scaleDenominator
The scale denominator.
If the scale denominator is 2000, the tile matrix corresponds to a map scale of 1:2000.
public double resolution
Tile matrix resolution.
public java.lang.String topLeftCorner
the coordinates of the top-left corner.
Ie the upper left corner of the tile matrix. Format is "x y", there is a space between x and y, with such a string to represent.
public int tileWidth
The width of each tile, in pixels. SuperMap iServer currently provides a tile width of 512 pixels.
public int tileHeight
The height of each tile, in pixels. SuperMap iServer currently provides a tile height of 512 pixels.
public int matrixWidth
The width of the tile matrix, represented by the number of tiles in the X direction.
public int matrixHeight
The height of the tile matrix, represented by the number of tiles in the Y direction.
public TileMatrix(java.lang.String identifier, double scaleDenominator, double resolution, java.lang.String topLeftCorner, int tileWidth, int tileHeight, int matrixWidth, int matrixHeight)
The Constructor.
identifier
- the tile matrix name.scaleDenominator
- scale denominator.topLeftCorner
- the upper left corner coordinates.tileWidth
- The width of each tile, in pixels.tileHeight
- The height of each tile, in pixels.matrixWidth
- The width of the tile matrix, represented by the number of tiles in the X direction.matrixHeight
- The height of the tile matrix, represented by the number of tiles in the Y direction.public TileMatrix()
The Constructor.
public int hashCode()
Get the hash code of the TileMatrix
object.
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
Determines whether the specified object is equal to the TileMatrix
object.
equals
in class java.lang.Object
obj
- the Java object to compare with this object.