Interface Header

PMTiles v3 header storing basic archive-level information.

interface Header {
    centerLat: number;
    centerLon: number;
    centerZoom: number;
    clustered: boolean;
    etag?: string;
    internalCompression: Compression;
    jsonMetadataLength: number;
    jsonMetadataOffset: number;
    leafDirectoryLength?: number;
    leafDirectoryOffset: number;
    maxLat: number;
    maxLon: number;
    maxZoom: number;
    minLat: number;
    minLon: number;
    minZoom: number;
    numAddressedTiles: number;
    numTileContents: number;
    numTileEntries: number;
    rootDirectoryLength: number;
    rootDirectoryOffset: number;
    specVersion: number;
    tileCompression: Compression;
    tileDataLength?: number;
    tileDataOffset: number;
    tileType: TileType;
}

Properties

centerLat: number
centerLon: number
centerZoom: number
clustered: boolean
etag?: string
internalCompression: Compression
jsonMetadataLength: number
jsonMetadataOffset: number
leafDirectoryLength?: number
leafDirectoryOffset: number
maxLat: number
maxLon: number
maxZoom: number
minLat: number
minLon: number
minZoom: number
numAddressedTiles: number
numTileContents: number
numTileEntries: number
rootDirectoryLength: number
rootDirectoryOffset: number
specVersion: number
tileCompression: Compression
tileDataLength?: number
tileDataOffset: number
tileType: TileType

Generated using TypeDoc