Class GeoPackageTile

java.lang.Object
mil.nga.geopackage.tiles.retriever.GeoPackageTile

public class GeoPackageTile extends Object
GeoPackage tile wrapper containing tile dimensions and raw image bytes
Since:
1.2.0
  • Field Details

    • width

      public final int width
      Tile width
    • height

      public final int height
      Tile height
    • data

      public final byte[] data
      Image bytes
  • Constructor Details

    • GeoPackageTile

      public GeoPackageTile(int width, int height, byte[] data)
      Constructor
      Parameters:
      width - tile width
      height - tile height
      data - tile bytes
  • Method Details

    • getWidth

      public int getWidth()
      Get width
      Returns:
      width
    • getHeight

      public int getHeight()
      Get height
      Returns:
      height
    • getData

      public byte[] getData()
      Get image data
      Returns:
      image data
    • getBitmap

      public Bitmap getBitmap()
      Get image bitmap
      Returns:
      image bitmap
      Since:
      6.0.0