<!--
{
  "availability" : [
    "MapKit JS: 5.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MapKitJS",
  "identifier" : "/documentation/MapKitJS/AnnotationConstructorOptions/coordinate",
  "metadataVersion" : "0.1.0",
  "role" : "Interface Property",
  "symbol" : {
    "kind" : "Interface Property",
    "modules" : [
      "MapKit JS"
    ],
    "preciseIdentifier" : "structp/mapkit.AnnotationConstructorOptions/coordinate"
  },
  "title" : "coordinate"
}
-->

# coordinate

Sets the coordinate of the annotation.

```
coordinate?: CoordinateData;
```

## Discussion

The framework ignores the coordinate option in the constructor, if it generates a warning.

To set the coordinate of the annotation, pass in the coordinate directly as an argument to the constructor.

---

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)