Package gov.nasa.worldwind.ogc.wmts
Class WmtsTileFactory
- java.lang.Object
-
- gov.nasa.worldwind.ogc.wmts.WmtsTileFactory
-
- All Implemented Interfaces:
TileFactory
public class WmtsTileFactory extends java.lang.Object implements TileFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
TILECOL_TEMPLATE
static java.lang.String
TILEMATRIX_TEMPLATE
static java.lang.String
TILEROW_TEMPLATE
-
Constructor Summary
Constructors Constructor Description WmtsTileFactory()
WmtsTileFactory(java.lang.String template, java.util.List<java.lang.String> tileMatrixIdentifiers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tile
createTile(Sector sector, Level level, int row, int column)
Returns a tile for a specified sector, level within aLevelSet
, 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)
-
-
-
Field Detail
-
TILEMATRIX_TEMPLATE
public static final java.lang.String TILEMATRIX_TEMPLATE
- See Also:
- Constant Field Values
-
TILEROW_TEMPLATE
public static final java.lang.String TILEROW_TEMPLATE
- See Also:
- Constant Field Values
-
TILECOL_TEMPLATE
public static final java.lang.String TILECOL_TEMPLATE
- See Also:
- Constant Field Values
-
-
Method Detail
-
createTile
public Tile createTile(Sector sector, Level level, int row, int column)
Description copied from interface:TileFactory
Returns a tile for a specified sector, level within aLevelSet
, and row and column within that level.- Specified by:
createTile
in interfaceTileFactory
- Parameters:
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 level- Returns:
- a tile constructed with the specified arguments
-
urlForTile
public java.lang.String urlForTile(int level, int row, int column)
-
getTemplate
public java.lang.String getTemplate()
-
setTemplate
public void setTemplate(java.lang.String template)
-
getTileMatrixIdentifiers
public java.util.List<java.lang.String> getTileMatrixIdentifiers()
-
setTileMatrixIdentifiers
public void setTileMatrixIdentifiers(java.util.List<java.lang.String> tileMatrixIdentifiers)
-
-