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

# MarkerAnnotationConstructorOptions

An object containing the options that create a marker annotation.

```
interface MarkerAnnotationConstructorOptions
    extends AnnotationConstructorOptions
```

## Topics

### Setting marker annotation properties

[`color`](/documentation/MapKitJS/MarkerAnnotationConstructorOptions/color)

The background color of the balloon.

[`glyphColor`](/documentation/MapKitJS/MarkerAnnotationConstructorOptions/glyphColor)

The fill color of the glyph.

[`glyphText`](/documentation/MapKitJS/MarkerAnnotationConstructorOptions/glyphText)

The text to display in the marker balloon.

[`glyphImage`](/documentation/MapKitJS/MarkerAnnotationConstructorOptions/glyphImage)

The image to display in the marker balloon.

[`selectedGlyphImage`](/documentation/MapKitJS/MarkerAnnotationConstructorOptions/selectedGlyphImage)

The image to display in the balloon when the user selects the marker.

[`subtitleVisibility`](/documentation/MapKitJS/MarkerAnnotationConstructorOptions/subtitleVisibility)

A value that determines the behavior of the subtitle’s visibility.

[`titleVisibility`](/documentation/MapKitJS/MarkerAnnotationConstructorOptions/titleVisibility)

A value that determines the behavior of the title’s visibility.

## Relationships

### Inherits From

[`AnnotationConstructorOptions`](/documentation/MapKitJS/AnnotationConstructorOptions)

---

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)