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¶
MinZoom¶
Gets the minimum zoom level available in the archive.
public int MinZoom { get; private set; }
Property Value¶
MaxZoom¶
Gets the maximum zoom level available in the archive.
public int MaxZoom { get; private set; }
Property Value¶
MinLongitude¶
Gets the minimum longitude of the archive bounds, in degrees.
public double MinLongitude { get; private set; }
Property Value¶
MinLatitude¶
Gets the minimum latitude of the archive bounds, in degrees.
public double MinLatitude { get; private set; }
Property Value¶
MaxLongitude¶
Gets the maximum longitude of the archive bounds, in degrees.
public double MaxLongitude { get; private set; }
Property Value¶
MaxLatitude¶
Gets the maximum latitude of the archive bounds, in degrees.
public double MaxLatitude { get; private set; }
Property Value¶
CenterZoom¶
Gets the recommended center zoom level.
public int CenterZoom { get; private set; }
Property Value¶
CenterLongitude¶
Gets the recommended center longitude, in degrees.
public double CenterLongitude { get; private set; }
Property Value¶
CenterLatitude¶
Gets the recommended center latitude, in degrees.
public double CenterLatitude { get; private set; }
Property Value¶
Methods¶
A(Byte[])¶
internal static PmTilesHeader A(Byte[] )
Parameters¶
`` Byte[]