public class TileMatrixSet
extends java.lang.Object
Constructor and Description |
---|
TileMatrixSet() |
TileMatrixSet(Sector sector,
java.util.List<TileMatrix> tileMatrixList) |
Modifier and Type | Method and Description |
---|---|
int |
count()
Returns the number of matrices in this tile matrix set.
|
static TileMatrixSet |
fromTilePyramid(Sector sector,
int matrixWidth,
int matrixHeight,
int tileWidth,
int tileHeight,
int numLevels) |
int |
indexOfMatrixNearest(double degreesPerPixel) |
TileMatrix |
matrix(int index)
Returns the matrix for a specified ordinal.
|
public Sector sector
public TileMatrixSet()
public TileMatrixSet(Sector sector, java.util.List<TileMatrix> tileMatrixList)
public static TileMatrixSet fromTilePyramid(Sector sector, int matrixWidth, int matrixHeight, int tileWidth, int tileHeight, int numLevels)
public int count()
public TileMatrix matrix(int index)
index
- the ordinal of the desired matrixpublic int indexOfMatrixNearest(double degreesPerPixel)