onTileLoaded

suspend fun onTileLoaded(tile: TileType, intervals: List<String>?, mode: Int, imageBytes: ByteArray? = null)

Backfills the edges of the tile with its neighbors' data and vice versa. This mirrors the logic found in the JavaScript SDK for seamless tile stitching.

Parameters

imageBytes

Packed encoded strip bytes for this request only. Prefer this over tile.data so concurrent downloads for the same z/x/y cannot swap buffers mid-decode.