Tile
Represents a single map tile containing image data.
Tiles are typically 256×256 pixel PNG images, but can be any size or format supported by Android's BitmapFactory (PNG, JPEG, WebP, etc.).
The data field contains the raw image bytes (not decoded bitmap). The image will be decoded on demand when the tile is rendered.
Example usage:
// Create a tile from PNG bytes
val tile = Tile(256, 256, pngByteArray)
// Indicate no tile is available
val noTile: Tile? = nullContent copied to clipboard