Skip to content

ProjectionDataParams

ProjectionDataParams = object

Defined in: src/geo/projection/projection_data.ts:53

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

Properties

aligned?

optional aligned: boolean

Defined in: src/geo/projection/projection_data.ts:61

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


applyGlobeMatrix?

optional applyGlobeMatrix: boolean

Defined in: src/geo/projection/projection_data.ts:69

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


applyTerrainMatrix?

optional applyTerrainMatrix: boolean

Defined in: src/geo/projection/projection_data.ts:65

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


overscaledTileID

overscaledTileID: OverscaledTileID | null

Defined in: src/geo/projection/projection_data.ts:57

The ID of the current tile