mirror of
https://github.com/protomaps/PMTiles.git
synced 2026-03-21 22:39:39 +00:00
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:
@@ -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 "";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user