the writer to append to
the tile type
the compression algorithm
Readonlycompressionthe compression algorithm
Readonlytypethe tile type
Readonlywriterthe writer to append to
Finish writing by building the header with root and leaf directories
the metadata to store
Write a tile to the PMTiles file given its tile ID.
the tile ID
the tile data
Optionalface: FaceIf it exists, then we are storing S2 data
Write a tile to the PMTiles file given its (face, zoom, x, y) coordinates.
the Open S2 projection face
the zoom level
the tile X coordinate
the tile Y coordinate
the tile data to store
Write a tile to the PMTiles file given its (z, x, y) coordinates.
the zoom level
the tile X coordinate
the tile Y coordinate
the tile data to store
Write a PMTiles file.