Skip to content

Commit

Permalink
Update extracted MinZoom (#198)
Browse files Browse the repository at this point in the history
resolves #197
  • Loading branch information
zstadler authored Dec 9, 2024
1 parent afd53c9 commit 6383732
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pmtiles/extract.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 6383732

Please sign in to comment.