MapLibre Native C API
Public C ABI for the MapLibre Native wrapper.
Loading...
Searching...
No Matches
mln_tile_id Struct Reference

#include <runtime.h>

Data Fields

uint32_t overscaled_z
int32_t wrap
uint32_t canonical_z
uint32_t canonical_x
uint32_t canonical_y

Detailed Description

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.

Field Documentation

◆ canonical_x

uint32_t mln_tile_id::canonical_x

◆ canonical_y

uint32_t mln_tile_id::canonical_y

◆ canonical_z

uint32_t mln_tile_id::canonical_z

◆ overscaled_z

uint32_t mln_tile_id::overscaled_z

◆ wrap

int32_t mln_tile_id::wrap

The documentation for this struct was generated from the following file: