<!--
{
  "availability" : [
    "MapKit JS: 5.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MapKitJS",
  "identifier" : "/documentation/MapKitJS/MapAnnotationDragEvent",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "MapKit JS"
    ],
    "preciseIdentifier" : "cl/mapkit.MapAnnotationDragEvent"
  },
  "title" : "MapAnnotationDragEvent"
}
-->

# MapAnnotationDragEvent

An event object that the map object dispatches when someone drags an annotation.

```
class MapAnnotationDragEvent extends Event
```

## Discussion

The [`Map`](/documentation/MapKitJS/Map) dispatches a [`MapAnnotationDragEvent`](/documentation/MapKitJS/MapAnnotationDragEvent) when someone dragging an annotation. The event type can be `drag-start`, `dragging`, or `drag-end`.

## Topics

### Instance Properties

[`readonly annotation: Annotation;`](/documentation/MapKitJS/MapAnnotationDragEvent/annotation)

The annotation that a person dragged.

[`readonly coordinate: Coordinate | null;`](/documentation/MapKitJS/MapAnnotationDragEvent/coordinate)

The coordinate of the annotation while someone is dragging it.

## Relationships

### Inherits From

`Event`

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)