<!--
{
  "availability" : [
    "iOS: 6.0.0 -",
    "iPadOS: 6.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.9.0 -",
    "tvOS: 9.2.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MapKit",
  "identifier" : "/documentation/MapKit/MKMapItem",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "MapKit"
    ],
    "preciseIdentifier" : "c:objc(cs)MKMapItem"
  },
  "title" : "MKMapItem"
}
-->

# MKMapItem

A point of interest on the map.

```
class MKMapItem
```

## Overview

A map item includes a geographic location and any interesting data that might apply to that location, such as the address at that location and the name of a business at that address. You can also create a special `MKMapItem` object representing the user’s location.

Use this class to do the following:

- Share map-related data with the Maps app.
- Handle requests for directions that originate from the Maps app.

To display information in the Maps app, create an `MKMapItem` object with the information you want to display and call the [`openMaps(with:launchOptions:)`](/documentation/MapKit/MKMapItem/openMaps(with:launchOptions:)) method. The Maps app displays that location on the map and shows the information you provide.

If you implement a routing app, the Maps app provides two `MKMapItem` objects representing the start and end points. Use the information in those two objects to plot the route and generate directions.

## Topics

### Creating map items

[`-  initWithPlacemark:`](/documentation/MapKit/MKMapItem/init(placemark:))

Creates and returns a map item object using the specified placemark object.

[`+  mapItemForCurrentLocation`](/documentation/MapKit/MKMapItem/forCurrentLocation())

Creates and returns a singleton map item object representing the user’s location.

### Accessing the map item attributes

[`Identifier`](/documentation/MapKit/MKMapItem/Identifier-swift.class)

A unique identifier for a place.

[`alternateIdentifiers`](/documentation/MapKit/MKMapItem/alternateIdentifiers)

A set of alternative identifiers for a place.

[`identifier`](/documentation/MapKit/MKMapItem/identifier-swift.property)

A unique identifier for a place.

[`isCurrentLocation`](/documentation/MapKit/MKMapItem/isCurrentLocation)

A Boolean value that indicates whether the map item represents the user’s location.

[`name`](/documentation/MapKit/MKMapItem/name)

The descriptive name associated with the map item.

[`placemark`](/documentation/MapKit/MKMapItem/placemark)

The placemark object containing the location information.

[`pointOfInterestCategory`](/documentation/MapKit/MKMapItem/pointOfInterestCategory)

The point-of-interest category for the map item.

[`phoneNumber`](/documentation/MapKit/MKMapItem/phoneNumber)

The phone number associated with a business at the specified location.

[`timeZone`](/documentation/MapKit/MKMapItem/timeZone)

The time zone of the specified location.

[`url`](/documentation/MapKit/MKMapItem/url)

The URL associated with the specified location.

### Launching the Maps app

[`+  openMapsWithItems:launchOptions:`](/documentation/MapKit/MKMapItem/openMaps(with:launchOptions:))

Opens the Maps app and displays the specified map items.

[`+  openMapsWithItems:launchOptions:completionHandler:`](/documentation/MapKit/MKMapItem/openMaps(with:launchOptions:completionHandler:))

Opens the Maps app using the specified map items and options.

[`+  openMapsWithItems:launchOptions:fromScene:completionHandler:`](/documentation/MapKit/MKMapItem/openMaps(with:launchOptions:from:completionHandler:))

Opens the Maps app from a particular scene using the specified map items and options.

[`-  openInMapsWithLaunchOptions:`](/documentation/MapKit/MKMapItem/openInMaps(launchOptions:))

Opens the Maps app and displays the map item.

[`-  openInMapsWithLaunchOptions:completionHandler:`](/documentation/MapKit/MKMapItem/openInMaps(launchOptions:completionHandler:))

Opens the Maps app and displays the map item.

[`-  openInMapsWithLaunchOptions:fromScene:completionHandler:`](/documentation/MapKit/MKMapItem/openInMaps(launchOptions:from:completionHandler:))

Opens the Maps app from a particular scene using the specified options.

### Serializing a map item

[`MKMapItemTypeIdentifier`](/documentation/MapKit/MKMapItemTypeIdentifier)

A constant that indicates the type of a serialized map item.

### Opening items at launch time

[Launch options dictionary keys](/documentation/MapKit/launch-options-dictionary-keys)

Launch options to specify when opening map items in the Maps app.

[Directions mode values](/documentation/MapKit/directions-mode-values)

Strings that represent the possible values of the launch options direction mode key.

## Relationships

### Conforms To

[`Copyable`](/documentation/Swift/Copyable)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`Hashable`](/documentation/Swift/Hashable)

[`Equatable`](/documentation/Swift/Equatable)

[`Escapable`](/documentation/Swift/Escapable)

[`NSSecureCoding`](/documentation/Foundation/NSSecureCoding)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`NSItemProviderWriting`](/documentation/Foundation/NSItemProviderWriting)

[`NSCoding`](/documentation/Foundation/NSCoding)

[`CVarArg`](/documentation/Swift/CVarArg)

[`NSItemProviderReading`](/documentation/Foundation/NSItemProviderReading)

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

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)