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
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
Was this helpful?
Set to true if a pixel-aligned matrix should be used, if possible (mostly used for raster tiles under mercator projection)