On this page

Type Alias ProjectionDataParams

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?
SDK JS
Reference
ProjectionDataParams