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 ProjectionDataParams

Parameters object for the transform's getProjectionData function. Contains the requested tile ID and more.

type ProjectionDataParams = {
    aligned?: boolean;
    applyGlobeMatrix?: boolean;
    applyTerrainMatrix?: boolean;
    overscaledTileID: OverscaledTileID | null;
}
Index

Properties

aligned?: boolean

Set to true if a pixel-aligned matrix should be used, if possible (mostly used for raster tiles under mercator projection)

applyGlobeMatrix?: boolean

Set to true if the globe matrix should be applied (i.e. when rendering globe)

applyTerrainMatrix?: boolean

Set to true if the terrain matrix should be applied (i.e. when rendering terrain)

overscaledTileID: OverscaledTileID | null

The ID of the current tile

Was this helpful?