<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: -",
    "macOS: 14.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: -",
    "watchOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MapKit",
  "identifier" : "/documentation/MapKit/Marker/init(item:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "MapKit",
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:15_MapKit_SwiftUI6MarkerV4itemACy0cD04TextVGSo9MKMapItemC_tcAGRszrlufc"
  },
  "title" : "init(item:)"
}
-->

# init(item:)

Creates a marker for a given map item using a MapKit-provided label.

```
@MainActor @preconcurrency init(item: MKMapItem) where Label == Text
```

## Parameters

`item`

An [`MKMapItem`](/documentation/MapKit/MKMapItem) that provides a label for the marker.

## Discussion

MapKit composes a label using available information, such as the `name` property of `label`.

---

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)