---
title: isHighlighted
framework: mapkit
role: symbol
role_heading: Instance Property
path: mapkit/mkannotationview/ishighlighted
---

# isHighlighted

A Boolean value that indicates whether the map view highlights the annotation view.

## Declaration

```swift
var isHighlighted: Bool { get set }
```

## Discussion

Discussion Don’t set the value of this property directly. The map view sets it in response to touch events entering or exiting the annotation view’s bounds.

## See Also

### Getting and setting attributes

- [isEnabled](mapkit/mkannotationview/isenabled.md)
- [image](mapkit/mkannotationview/image.md)
- [annotation](mapkit/mkannotationview/annotation.md)
- [centerOffset](mapkit/mkannotationview/centeroffset.md)
- [calloutOffset](mapkit/mkannotationview/calloutoffset.md)
- [reuseIdentifier](mapkit/mkannotationview/reuseidentifier.md)
