<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -",
    "watchOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GeoToolbox",
  "identifier" : "/documentation/GeoToolbox/PlaceDescriptor/init(item:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "GeoToolbox"
    ],
    "preciseIdentifier" : "s:10GeoToolbox15PlaceDescriptorV6MapKitE4itemACSgSo9MKMapItemC_tcfc"
  },
  "title" : "init(item:)"
}
-->

# init(item:)

Creates a place descriptor from a map item.

```
init?(item: MKMapItem)
```

## Parameters

`item`

An `MKMapItem`.

## Discussion

Use this method to create a `PlaceDescriptor` from an existing `MKMapItem` as shown here.

```swift
    guard let descriptor = PlaceDescriptor(item: selectedSearchResult) else {
        return
    }
```

Note that it’s possible for this initialization to fail if the system can’t resolve the provided map item.

---

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)