public class WmtsTileFactory extends java.lang.Object implements TileFactory
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TILECOL_TEMPLATE |
static java.lang.String |
TILEMATRIX_TEMPLATE |
static java.lang.String |
TILEROW_TEMPLATE |
Constructor and Description |
---|
WmtsTileFactory() |
WmtsTileFactory(java.lang.String template,
java.util.List<java.lang.String> tileMatrixIdentifiers) |
Modifier and Type | Method and Description |
---|---|
Tile |
createTile(Sector sector,
Level level,
int row,
int column)
Returns a tile for a specified sector, level within a
LevelSet , and row and column within that level. |
java.lang.String |
getTemplate() |
java.util.List<java.lang.String> |
getTileMatrixIdentifiers() |
void |
setTemplate(java.lang.String template) |
void |
setTileMatrixIdentifiers(java.util.List<java.lang.String> tileMatrixIdentifiers) |
java.lang.String |
urlForTile(int level,
int row,
int column) |
public static java.lang.String TILEMATRIX_TEMPLATE
public static java.lang.String TILEROW_TEMPLATE
public static java.lang.String TILECOL_TEMPLATE
public WmtsTileFactory()
public WmtsTileFactory(java.lang.String template, java.util.List<java.lang.String> tileMatrixIdentifiers)
public Tile createTile(Sector sector, Level level, int row, int column)
TileFactory
LevelSet
, and row and column within that level.createTile
in interface TileFactory
sector
- the sector spanned by the tilelevel
- the level at which the tile lies within a LevelSetrow
- the row within the specified levelcolumn
- the column within the specified levelpublic java.lang.String urlForTile(int level, int row, int column)
public java.lang.String getTemplate()
public void setTemplate(java.lang.String template)
public java.util.List<java.lang.String> getTileMatrixIdentifiers()
public void setTileMatrixIdentifiers(java.util.List<java.lang.String> tileMatrixIdentifiers)