App: update mlt, misc small fixes (#634)

* app: bump to pmtiles js v4.4.0 for mlt support [#633]
* update python README [#632]
* app: bump seroval dep
This commit is contained in:
Brandon Liu
2026-02-03 17:53:23 -05:00
committed by GitHub
parent 6f6c9c8697
commit 26a1b5ef03
4 changed files with 15 additions and 13 deletions

View File

@@ -54,7 +54,7 @@ export class PMTilesTileset {
async isVector() {
const h = await this.getHeader();
return h.tileType === TileType.Mvt;
return h.tileType === TileType.Mvt || h.tileType === TileType.Mlt;
}
async getHeader() {
@@ -171,7 +171,11 @@ class TileJSONTileset implements Tileset {
const j = await resp.json();
const template = j.tiles[0];
const pathname = new URL(template).pathname;
return pathname.endsWith(".pbf") || pathname.endsWith(".mvt");
return (
pathname.endsWith(".pbf") ||
pathname.endsWith(".mvt") ||
pathname.endsWith(".mlt")
);
}
getStateUrl() {