From 6383732020c2cd938181acff24febc003b15639c Mon Sep 17 00:00:00 2001 From: zstadler Date: Mon, 9 Dec 2024 04:12:36 +0200 Subject: [PATCH] Update extracted MinZoom (#198) resolves #197 --- pmtiles/extract.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pmtiles/extract.go b/pmtiles/extract.go index 0c14bd4..254b8a2 100644 --- a/pmtiles/extract.go +++ b/pmtiles/extract.go @@ -441,6 +441,7 @@ func Extract(_ *log.Logger, bucketURL string, key string, minzoom int8, maxzoom header.TileContentsCount = tileContents header.MaxZoom = uint8(maxzoom) + header.MinZoom = uint8(minzoom) headerBytes := serializeHeader(header)