---
title: "BucketParameters | 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 BucketParameters<Layer>

type BucketParameters<[Layer](#layer) extends [TypedStyleLayer](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.TypedStyleLayer/)\> \= {  
    [collisionBoxArray](#collisionboxarray): [CollisionBoxArray](https://docs.maptiler.com/sdk-js/api-reference/classes/CollisionBoxArray/);  
    [index](#index): number;  
    [layers](#layers): [Layer](#layer)\[\];  
    [overscaling](#overscaling): number;  
    [pixelRatio](#pixelratio): number;  
    [sourceID](#sourceid): string;  
    [sourceLayerIndex](#sourcelayerindex): number;  
    [zoom](#zoom): number;  
}

#### Type Parameters

-   Layer extends [TypedStyleLayer](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.TypedStyleLayer/)

##### Index

### Properties[](#properties)

[collisionBoxArray](#collisionboxarray) [index](#index) [layers](#layers) [overscaling](#overscaling) [pixelRatio](#pixelratio) [sourceID](#sourceid) [sourceLayerIndex](#sourcelayerindex) [zoom](#zoom)

## Properties[](#properties-1)

### collisionBoxArray[](#collisionboxarray)

collisionBoxArray: [CollisionBoxArray](https://docs.maptiler.com/sdk-js/api-reference/classes/CollisionBoxArray/)

### index[](#index)

index: number

### layers[](#layers)

layers: [Layer](#layer)\[\]

### overscaling[](#overscaling)

overscaling: number

### pixelRatio[](#pixelratio)

pixelRatio: number

### sourceID[](#sourceid)

sourceID: string

### sourceLayerIndex[](#sourcelayerindex)

sourceLayerIndex: number

### zoom[](#zoom)

zoom: number
