---
title: MapAnnotationSelectionEvent
framework: mapkitjs
role: symbol
role_heading: Class
path: mapkitjs/mapannotationselectionevent
---

# MapAnnotationSelectionEvent

An event object that the map object dispatches when someone selects or deselects an annotation.

## Declaration

```data
class MapAnnotationSelectionEvent extends Event
```

## Discussion

Discussion The Map dispatches a MapAnnotationSelectionEvent when someone selects or deselects an annotation. The event type can be select or deselect.

## Topics

### Instance Properties

- [annotation](mapkitjs/mapannotationselectionevent/annotation.md)

## Relationships

### Inherits From

- Event

## See Also

### Map events

- [MapEvent](mapkitjs/mapevent.md)
- [MapAnnotationDragEvent](mapkitjs/mapannotationdragevent.md)
- [MapOverlaySelectionEvent](mapkitjs/mapoverlayselectionevent.md)
- [MapUserLocationChangeEvent](mapkitjs/mapuserlocationchangeevent.md)
- [MapUserLocationErrorEvent](mapkitjs/mapuserlocationerrorevent.md)
