public class GeoPackageTileRetriever extends Object implements TileRetriever
| Constructor and Description |
|---|
GeoPackageTileRetriever(TileDao tileDao)
Constructor using GeoPackage tile sizes
|
GeoPackageTileRetriever(TileDao tileDao,
Integer width,
Integer height)
Constructor with specified tile size
|
| Modifier and Type | Method and Description |
|---|---|
TileScaling |
getScaling()
Get the Tile Scaling options
|
GeoPackageTile |
getTile(int x,
int y,
int zoom)
Get a tile from the x, y, and zoom
|
boolean |
hasTile(int x,
int y,
int zoom)
Check if there is a tile for the x, y, and zoom
|
void |
setScaling(TileScaling scaling)
Set the Tile Scaling options
|
public GeoPackageTileRetriever(TileDao tileDao)
tileDao - tile daopublic boolean hasTile(int x,
int y,
int zoom)
hasTile in interface TileRetrieverx - x coordinatey - y coordinatezoom - zoom levelpublic GeoPackageTile getTile(int x, int y, int zoom)
getTile in interface TileRetrieverx - x coordinatey - y coordinatezoom - zoom levelpublic TileScaling getScaling()
public void setScaling(TileScaling scaling)
scaling - tile scaling options