---
title: collisionMode
framework: mapkitjs
role: symbol
role_heading: Interface Property
path: mapkitjs/annotationconstructoroptions/collisionmode
---

# collisionMode

A mode that determines the shape of the collision frame.

## Declaration

```data
collisionMode?: AnnotationCollisionMode;
```

## Discussion

Discussion Use one of the modes available in AnnotationCollisionMode: Rectangle — Indicates the bounding box of the annotation. Circle — Indicates a circle within the bounding box. The default value is Rectangle.

## See Also

### Grouping annotations

- [clusteringIdentifier](mapkitjs/annotationconstructoroptions/clusteringidentifier.md)
- [id](mapkitjs/annotationconstructoroptions/id.md)
