---
title: displayPriority
framework: mapkitjs
role: symbol
role_heading: Instance Property
path: mapkitjs/annotation/displaypriority-data.property
---

# displayPriority

A numeric hint that the map uses to prioritize how it displays annotations.

## Declaration

```data
get displayPriority(): number;
set displayPriority(value: number);
```

## Mentioned in

MapKit JS 5

## Discussion

Discussion Maps use the display priority as a hint to determine whether to display annotations at any given time. By default, the display priority is Required, which indicates the annotation always displays on the map. Display priority can be any number from 0 to 1000. There are three preset values: Low (250) High (750) Required (1000) Maps ignores this value when collisionMode is None.

## See Also

### Getting and setting annotation appearance

- [coordinate](mapkitjs/annotation/coordinate.md)
- [anchorOffset](mapkitjs/annotation/anchoroffset.md)
- [appearanceAnimation](mapkitjs/annotation/appearanceanimation.md)
- [padding](mapkitjs/annotation/padding.md)
- [size](mapkitjs/annotation/size.md)
- [visible](mapkitjs/annotation/visible.md)
