Spec-Zone.ru › MapLibre GL JS

CustomLayerProjectionDataParams

CustomLayerProjectionDataParams = object

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

Properties

aligned?

optional aligned?: 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?

optional applyGlobeMatrix?: boolean

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


applyTerrainMatrix?

optional applyTerrainMatrix?: 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/

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API