Class XYZGeoPackageOverlay

java.lang.Object
mil.nga.geopackage.map.tiles.overlay.BoundedOverlay
mil.nga.geopackage.map.tiles.overlay.XYZGeoPackageOverlay
All Implemented Interfaces:
TileProvider

public class XYZGeoPackageOverlay extends BoundedOverlay
XYZ GeoPackage Map Overlay Tile Provider, assumes XYZ tiles
  • Constructor Details

    • XYZGeoPackageOverlay

      public XYZGeoPackageOverlay(TileDao tileDao)
      Constructor
      Parameters:
      tileDao - tile dao
  • Method Details

    • getRetriever

      public TileRetriever getRetriever()
      Get the tile retriever
      Returns:
      retriever
      Since:
      6.7.4
    • hasTileToRetrieve

      public boolean hasTileToRetrieve(int x, int y, int zoom)
      Check if there is a tile to retrieve
      Specified by:
      hasTileToRetrieve in class BoundedOverlay
      Parameters:
      x - x coordinate
      y - y coordinate
      zoom - zoom value
      Returns:
      true if there is a tile
    • retrieveTile

      public Tile retrieveTile(int x, int y, int zoom)
      Retrieve the tile
      Specified by:
      retrieveTile in class BoundedOverlay
      Parameters:
      x - x coordinate
      y - y coordinate
      zoom - zoom value
      Returns:
      tile