diff --git a/js/v3.ts b/js/v3.ts index bac032e..472a7df 100644 --- a/js/v3.ts +++ b/js/v3.ts @@ -549,7 +549,7 @@ export class PMTiles { const tile_id = zxyToTileId(z, x, y); const header = await this.cache.getHeader(this.source); - if (z < header.minzoom || z > header.maxzoom) { + if (z < header.minZoom || z > header.maxZoom) { return undefined; }