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
type ProjectionDataParams = {
aligned?: boolean;
applyGlobeMatrix?: boolean;
applyTerrainMatrix?: boolean;
overscaledTileID: OverscaledTileID | null;
}
aligned?: boolean;
applyGlobeMatrix?: boolean;
applyTerrainMatrix?: boolean;
overscaledTileID: OverscaledTileID | null;
}
Index
Properties
Optionalaligned
aligned?: boolean
Set to true if a pixel-aligned matrix should be used, if possible (mostly used for raster tiles under mercator projection)
OptionalapplyGlobeMatrix
applyGlobeMatrix?: boolean
Set to true if the globe matrix should be applied (i.e. when rendering globe)
OptionalapplyTerrainMatrix
applyTerrainMatrix?: boolean
Set to true if the terrain matrix should be applied (i.e. when rendering terrain)
overscaledTileID
The ID of the current tile
Parameters object for the transform's
getProjectionDatafunction. Contains the requested tile ID and more.