<!--
{
  "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

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

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

[`class func forCurrentLocation() -> MKMapItem`](/documentation/MapKit/MKMapItem/forCurrentLocation())

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

### Accessing the map item attributes

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

A unique identifier for a place.

[`var alternateIdentifiers: Set<MKMapItem.Identifier>`](/documentation/MapKit/MKMapItem/alternateIdentifiers)

A set of alternative identifiers for a place.

[`var identifier: MKMapItem.Identifier?`](/documentation/MapKit/MKMapItem/identifier-swift.property)

A unique identifier for a place.

[`var isCurrentLocation: Bool`](/documentation/MapKit/MKMapItem/isCurrentLocation)

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

[`var name: String?`](/documentation/MapKit/MKMapItem/name)

The descriptive name associated with the map item.

[`var placemark: MKPlacemark`](/documentation/MapKit/MKMapItem/placemark)

The placemark object containing the location information.

[`var pointOfInterestCategory: MKPointOfInterestCategory?`](/documentation/MapKit/MKMapItem/pointOfInterestCategory)

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

[`var phoneNumber: String?`](/documentation/MapKit/MKMapItem/phoneNumber)

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

[`var timeZone: TimeZone?`](/documentation/MapKit/MKMapItem/timeZone)

The time zone of the specified location.

[`var url: URL?`](/documentation/MapKit/MKMapItem/url)

The URL associated with the specified location.

### Launching the Maps app

[`class func openMaps(with: [MKMapItem], launchOptions: [String : Any]?) -> Bool`](/documentation/MapKit/MKMapItem/openMaps(with:launchOptions:))

Opens the Maps app and displays the specified map items.

[`class func openMaps(with: [MKMapItem], launchOptions: [String : Any]?, completionHandler: ((Bool) -> Void)?)`](/documentation/MapKit/MKMapItem/openMaps(with:launchOptions:completionHandler:))

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

[`class func openMaps(with: [MKMapItem], launchOptions: [String : Any]?, from: UIScene?, completionHandler: ((Bool) -> Void)?)`](/documentation/MapKit/MKMapItem/openMaps(with:launchOptions:from:completionHandler:))

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

[`func openInMaps(launchOptions: [String : Any]?) -> Bool`](/documentation/MapKit/MKMapItem/openInMaps(launchOptions:))

Opens the Maps app and displays the map item.

[`func openInMaps(launchOptions: [String : Any]?, completionHandler: ((Bool) -> Void)?)`](/documentation/MapKit/MKMapItem/openInMaps(launchOptions:completionHandler:))

Opens the Maps app and displays the map item.

[`func openInMaps(launchOptions: [String : Any]?, from: UIScene?, completionHandler: ((Bool) -> Void)?)`](/documentation/MapKit/MKMapItem/openInMaps(launchOptions:from:completionHandler:))

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

### Serializing a map item

[`let MKMapItemTypeIdentifier: String`](/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.

### Initializers

[`init(location: CLLocation, address: MKAddress?)`](/documentation/MapKit/MKMapItem/init(location:address:))

Creates and returns a map item object using the specified location and address objects.

### Instance Properties

[`var address: MKAddress?`](/documentation/MapKit/MKMapItem/address)

The address object.

[`var addressRepresentations: MKAddressRepresentations?`](/documentation/MapKit/MKMapItem/addressRepresentations)

The address representations object that contains various address representations useful for display purposes.

[`var location: CLLocation`](/documentation/MapKit/MKMapItem/location)

The location object.

### Default Implementations

[MKMapItem Implementations](/documentation/MapKit/MKMapItem/MKMapItem-Implementations)

## Relationships

### Conforms To

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

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

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

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

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

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

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

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

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

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

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

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

### 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)