<!--
{
  "availability" : [
    "MapKit JS: 5.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MapKitJS",
  "identifier" : "/documentation/MapKitJS/MarkerAnnotation/MarkerAnnotationConstructor",
  "metadataVersion" : "0.1.0",
  "role" : "Constructor",
  "symbol" : {
    "kind" : "Constructor",
    "modules" : [
      "MapKit JS"
    ],
    "preciseIdentifier" : "instctr/mapkit.MarkerAnnotation/MarkerAnnotationConstructor"
  },
  "title" : "new MarkerAnnotation(location, options)"
}
-->

# new MarkerAnnotation(location, options)

Creates a marker annotation at the coordinate location with provided options.

```
constructor(
    location: CoordinateData | Place | SearchAutocompleteResult,
    options?: MarkerAnnotationConstructorOptions,
);
```

## Parameters

`location`

The coordinate where the annotation appears.

`options`

A hash of properties to create the annotation with.

---

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)