Struct TileId
- Namespace
- Maplibre.NativeFfi
- Assembly
- Maplibre.NativeFfi.dll
The ID of a tile.
public readonly record struct TileId : IEquatable<TileId>
- Implements
- Inherited Members
Remarks
canonical_x and canonical_y place the tile in the
source's grid at zoom canonical_z. overscaled_z is the zoom
that the map draws the tile at, and is greater when the source has no tiles
that deep. wrap says which copy of the world holds the tile: zero for
the main one, negative to the west, and positive to the east.
See mln_tile_id in the C API reference.
Constructors
TileId(uint, int, uint, uint, uint)
The ID of a tile.
public TileId(uint OverscaledZ, int Wrap, uint CanonicalZ, uint CanonicalX, uint CanonicalY)
Parameters
Remarks
canonical_x and canonical_y place the tile in the
source's grid at zoom canonical_z. overscaled_z is the zoom
that the map draws the tile at, and is greater when the source has no tiles
that deep. wrap says which copy of the world holds the tile: zero for
the main one, negative to the west, and positive to the east.
See mln_tile_id in the C API reference.
Properties
CanonicalX
public uint CanonicalX { get; init; }
Property Value
CanonicalY
public uint CanonicalY { get; init; }
Property Value
CanonicalZ
public uint CanonicalZ { get; init; }
Property Value
OverscaledZ
public uint OverscaledZ { get; init; }
Property Value
Wrap
public int Wrap { get; init; }