Skip to content

PmTilesHeader

Namespace: ThinkGeo.Core

Represents the fixed 127-byte header located at the start of a PMTiles v3 archive.

public sealed class PmTilesHeader

Inheritance object → PmTilesHeader

Remarks:

The layout follows the PMTiles v3 specification: https://github.com/protomaps/PMTiles/blob/main/spec/v3/spec.md

Properties

TileType

Gets the type of tiles stored in the archive.

public PmTilesTileType TileType { get; private set; }

Property Value

PmTilesTileType

MinZoom

Gets the minimum zoom level available in the archive.

public int MinZoom { get; private set; }

Property Value

int

MaxZoom

Gets the maximum zoom level available in the archive.

public int MaxZoom { get; private set; }

Property Value

int

MinLongitude

Gets the minimum longitude of the archive bounds, in degrees.

public double MinLongitude { get; private set; }

Property Value

double

MinLatitude

Gets the minimum latitude of the archive bounds, in degrees.

public double MinLatitude { get; private set; }

Property Value

double

MaxLongitude

Gets the maximum longitude of the archive bounds, in degrees.

public double MaxLongitude { get; private set; }

Property Value

double

MaxLatitude

Gets the maximum latitude of the archive bounds, in degrees.

public double MaxLatitude { get; private set; }

Property Value

double

CenterZoom

Gets the recommended center zoom level.

public int CenterZoom { get; private set; }

Property Value

int

CenterLongitude

Gets the recommended center longitude, in degrees.

public double CenterLongitude { get; private set; }

Property Value

double

CenterLatitude

Gets the recommended center latitude, in degrees.

public double CenterLatitude { get; private set; }

Property Value

double

Methods

A(Byte[])

internal static PmTilesHeader A(Byte[] )

Parameters

`` Byte[]

Returns

PmTilesHeader