TileArchive

One open PMTiles archive — TerrainTileFetcher in production; a seam so tests can script sparse coverage. openArchive returns null for an archive the host doesn't have.

Properties

Link copied to clipboard
open val version: String?

The archive's version as the server reports it (its ETag), or null if it gave none.

Functions

Link copied to clipboard
expect abstract fun close()
Link copied to clipboard
abstract fun fetchTile(zoom: Int, x: Int, y: Int): ByteArray?