Class XYZGeoPackageTileRetriever
java.lang.Object
mil.nga.geopackage.tiles.retriever.XYZGeoPackageTileRetriever
- All Implemented Interfaces:
TileRetriever
XYZ GeoPackage Tile Retriever, assumes XYZ tiles
- Since:
- 3.5.0
-
Constructor Details
-
XYZGeoPackageTileRetriever
Constructor- Parameters:
tileDao
- tile dao
-
-
Method Details
-
hasTile
public boolean hasTile(int x, int y, int zoom) Check if there is a tile for the x, y, and zoom- Specified by:
hasTile
in interfaceTileRetriever
- Parameters:
x
- x coordinatey
- y coordinatezoom
- zoom level- Returns:
- true if a tile exists
-
getTile
Get a tile from the x, y, and zoom- Specified by:
getTile
in interfaceTileRetriever
- Parameters:
x
- x coordinatey
- y coordinatezoom
- zoom level- Returns:
- tile with dimensions and bytes
-