CustomLayerProjectionDataParams
CustomLayerProjectionDataParams =
object
Parameters object for the CustomRenderMethodInput.getProjectionData function. Contains the requested tile ID and more.
Properties
aligned?
optionalaligned?:boolean
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?
optionalapplyGlobeMatrix?:boolean
Set to true if the globe matrix should be applied when using globe projection.
applyTerrainMatrix?
optionalapplyTerrainMatrix?:boolean
Set to true if the terrain matrix should be applied when pre-rendering tiles into textures for 3D terrain.
tileID
tileID:
UnwrappedTileIDLiteral|null
The coordinates of the current tile.
© MapLibre contributors
Licensed under the 3-Clause BSD License.
https://maplibre.org/maplibre-gl-js/docs/API/type-aliases/CustomLayerProjectionDataParams/