---
title: "CollisionGroup | 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 CollisionGroup

type CollisionGroup \= {  
    [ID](#id): number;  
    [predicate](#predicate)?: (key: [FeatureKey](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.FeatureKey/)) \=> boolean;  
}

##### Index

### Properties[](#properties)

[ID](#id) [predicate?](#predicate)

## Properties[](#properties-1)

### ID[](#id)

ID: number

### `Optional`predicate[](#predicate)

predicate?: (key: [FeatureKey](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.FeatureKey/)) \=> boolean
