Class GeoPackageTile


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

      • width

        public final int width
        Tile width
      • height

        public final int height
        Tile height
      • data

        public final byte[] data
        Image bytes
    • Constructor Detail

      • GeoPackageTile

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

      • 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