Package mil.nga.geopackage.tiles
Interface TileRetriever
-
- All Known Implementing Classes:
GeoPackageTileRetriever
public interface TileRetriever
Interface defining the tile retrieval methods- Since:
- 1.2.0
- Author:
- osbornb
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GeoPackageTile
getTile(int x, int y, int zoom)
Get a tile from the x, y, and zoomboolean
hasTile(int x, int y, int zoom)
Check if there is a tile for the x, y, and zoom
-
-
-
Method Detail
-
hasTile
boolean hasTile(int x, int y, int zoom)
Check if there is a tile for the x, y, and zoom- Parameters:
x
- x coordinatey
- y coordinatezoom
- zoom level- Returns:
- true if a tile exists
-
getTile
GeoPackageTile getTile(int x, int y, int zoom)
Get a tile from the x, y, and zoom- Parameters:
x
- x coordinatey
- y coordinatezoom
- zoom level- Returns:
- tile with dimensions and bytes
-
-