---
title: "CustomLayerProjectionDataParams | JavaScript maps SDK"
description: "Documentation for MapTiler SDK"
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs.maptiler.com/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# Type Alias CustomLayerProjectionDataParams

Parameters object for the [CustomRenderMethodInput.getProjectionData](https://docs.maptiler.com/sdk-js/api-reference/types/CustomRenderMethodInput/#getprojectiondata) function. Contains the requested tile ID and more.

type CustomLayerProjectionDataParams \= {  
    [aligned](#aligned)?: boolean;  
    [applyGlobeMatrix](#applyglobematrix)?: boolean;  
    [applyTerrainMatrix](#applyterrainmatrix)?: boolean;  
    [tileID](#tileid): [UnwrappedTileIDLiteral](https://docs.maptiler.com/sdk-js/api-reference/types/UnwrappedTileIDLiteral/) | null;  
}

##### Index

### Properties

[aligned?](#aligned) [applyGlobeMatrix?](#applyglobematrix) [applyTerrainMatrix?](#applyterrainmatrix) [tileID](#tileid)

## Properties

### `Optional`aligned[](#aligned)

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.

### `Optional`applyGlobeMatrix[](#applyglobematrix)

applyGlobeMatrix?: boolean

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

### `Optional`applyTerrainMatrix[](#applyterrainmatrix)

applyTerrainMatrix?: boolean

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

### tileID[](#tileid)

tileID: [UnwrappedTileIDLiteral](https://docs.maptiler.com/sdk-js/api-reference/types/UnwrappedTileIDLiteral/) | null

The coordinates of the current tile.
