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

# PlaceSelectionAccessory

The accessory that conveys information about a place associated with an annotation.

```
class PlaceSelectionAccessory
```

## Overview

For more information on places, see <doc://com.apple.documentation/documentation/MapKit/identifying-unique-locations-with-place-ids>.

## Topics

### Creating a selection accessory

[`constructor(options?: PlaceSelectionAccessoryOptions);`](/documentation/MapKitJS/PlaceSelectionAccessory/PlaceSelectionAccessoryConstructor)

Creates a new place selection accessory.

### Working with styles

[`get style(): PlaceSelectionAccessoryStyle;
set style(value: PlaceSelectionAccessoryStyle);`](/documentation/MapKitJS/PlaceSelectionAccessory/style)

The visual appearance of the place selection accessory.

[`const PlaceSelectionAccessoryStyle: Readonly<{
    readonly Automatic: "automatic";
    readonly Callout: "callout";
    readonly FullCallout: "fullCallout";
    readonly CompactCallout: "compactCallout";
    readonly OpenInMaps: "openInMaps";
}>
type PlaceSelectionAccessoryStyle =
    (typeof PlaceSelectionAccessoryStyle)[keyof typeof PlaceSelectionAccessoryStyle];`](/documentation/MapKitJS/PlaceSelectionAccessoryStyle)

The set of styles for configuring how a place selection accessory appears.

### Static properties

[`static Styles: typeof PlaceSelectionAccessoryStyle;`](/documentation/MapKitJS/PlaceSelectionAccessory/Styles)

A static property that allows you to access the place selection accessory style enumeration.



---

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)