Skip to content

CustomLayerProjectionDataParams

CustomLayerProjectionDataParams = object

Defined in: style/style_layer/custom_style_layer.ts:32

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

Properties

aligned?

optional aligned?: boolean

Defined in: style/style_layer/custom_style_layer.ts:41

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?

optional applyGlobeMatrix?: boolean

Defined in: style/style_layer/custom_style_layer.ts:49

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


applyTerrainMatrix?

optional applyTerrainMatrix?: boolean

Defined in: style/style_layer/custom_style_layer.ts:45

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


tileID

tileID: UnwrappedTileIDLiteral | null

Defined in: style/style_layer/custom_style_layer.ts:36

The coordinates of the current tile.