For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.

Type Alias UnwrappedTileIDLiteral

Type for an object literal that specifies a map tile.

type UnwrappedTileIDLiteral = {
    canonical: { x: number; y: number; z: number };
    wrap?: number;
}
Index

Properties

Properties

canonical: { x: number; y: number; z: number }

The tile's XY coordinates and zoom level.

wrap?: number

An optional wrap values. Useful in scenarios when multiple world copies are visible, such as a zoomed out map or a map centered around the antimeridian. Tiles from each world copy should have different wrap values, with wrap increasing for each copy from west to east.

Was this helpful?