Interface TileRetriever

  • All Known Implementing Classes:
    GeoPackageTileRetriever

    public interface TileRetriever
    Interface defining the tile retrieval methods
    Since:
    1.2.0
    Author:
    osbornb
    • 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 coordinate
        y - y coordinate
        zoom - 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 coordinate
        y - y coordinate
        zoom - zoom level
        Returns:
        tile with dimensions and bytes