Implement MLT (#633)

* Add MLT tile type

* MLT code implementation

* fix build - /app needs to wait for new pmtiles version on npm

* update CHANGELOGs and python, js versions [#596, #633]

---------

Co-authored-by: Michael Barry <msbarry@users.noreply.github.com>
Co-authored-by: Brandon Liu <bdon@users.noreply.github.com>
Co-authored-by: Brandon Liu <bdon@bdon.org>
This commit is contained in:
Anson Chung
2026-02-04 06:24:42 +08:00
committed by GitHub
parent 0077eacdff
commit 6f6c9c8697
13 changed files with 19 additions and 8 deletions

View File

@@ -205,6 +205,7 @@ export enum TileType {
Jpeg = 3,
Webp = 4,
Avif = 5,
Mlt = 6,
}
export function tileTypeExt(t: TileType): string {
@@ -213,6 +214,7 @@ export function tileTypeExt(t: TileType): string {
if (t === TileType.Jpeg) return ".jpg";
if (t === TileType.Webp) return ".webp";
if (t === TileType.Avif) return ".avif";
if (t === TileType.Mlt) return ".mlt";
return "";
}