add AVIF enum in JS client [#116]

This commit is contained in:
Brandon Liu
2023-06-22 10:08:34 +08:00
parent 07f8fd8a09
commit 10021809dc
6 changed files with 11 additions and 1 deletions

View File

@@ -52,6 +52,8 @@ export const tileJSON = (
ext = ".jpg";
} else if (header.tileType === TileType.Webp) {
ext = ".webp";
} else if (header.tileType === TileType.Avif) {
ext = ".avif";
}
return {