---
title: "new MarkerAnnotation(location, options)"
framework: mapkitjs
role: symbol
role_heading: Constructor
path: mapkitjs/markerannotation/markerannotationconstructor
---

# new MarkerAnnotation(location, options)

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

## Declaration

```data
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.

## See Also

### Creating a marker annotation

- [MarkerAnnotationConstructorOptions](mapkitjs/markerannotationconstructoroptions.md)
