Struct

MaplibreNativeFfiTileId

Description [src]

struct MaplibreNativeFfiTileId {
  guint32 overscaled_z;
  gint32 wrap;
  guint32 canonical_z;
  guint32 canonical_x;
  guint32 canonical_y;
}

The ID of a tile.

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.

Structure members
overscaled_z: guint32

Overscaled_z.

wrap: gint32

Wrap.

canonical_z: guint32

Canonical_z.

canonical_x: guint32

Canonical_x.

canonical_y: guint32

Canonical_y.

Instance methods