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 CustomLayerProjectionDataParams

Parameters object for the CustomRenderMethodInput.getProjectionData function. Contains the requested tile ID and more.

type CustomLayerProjectionDataParams = {
    aligned?: boolean;
    applyGlobeMatrix?: boolean;
    applyTerrainMatrix?: boolean;
    tileID: UnwrappedTileIDLiteral | null;
}
Index

Properties

aligned?: boolean

Set to true if a pixel-aligned matrix should be used, if possible. This flag is mostly used for raster tiles under mercator projection.

applyGlobeMatrix?: boolean

Set to true if the globe matrix should be applied when using globe projection.

applyTerrainMatrix?: boolean

Set to true if the terrain matrix should be applied when pre-rendering tiles into textures for 3D terrain.

tileID: UnwrappedTileIDLiteral | null

The coordinates of the current tile.

Was this helpful?