public class GeoPackageTileRetriever extends Object implements TileRetriever
| Constructor and Description |
|---|
GeoPackageTileRetriever(TileDao tileDao)
Constructor using GeoPackage tile sizes
|
GeoPackageTileRetriever(TileDao tileDao,
int width,
int height)
Constructor with specified tile size
|
| Modifier and Type | Method and Description |
|---|---|
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
|
public GeoPackageTileRetriever(TileDao tileDao)
tileDao - tile daopublic GeoPackageTileRetriever(TileDao tileDao, int width, int height)
tileDao - tile daowidth - widthheight - heightpublic boolean hasTile(int x,
int y,
int zoom)
hasTile in interface TileRetrieverpublic GeoPackageTile getTile(int x, int y, int zoom)
getTile in interface TileRetriever