<!--
{
  "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/MapFeature",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "MapKit",
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:15_MapKit_SwiftUI0A7FeatureV"
  },
  "title" : "MapFeature"
}
-->

# MapFeature

A tappable map feature.

```
struct MapFeature
```

## Overview

Tappable map features can include single points of interest, such as hotels and restaurants, a territory, or a physical map feature such as an ocean, basin, river, or mountain range.

## Topics

### Accessing the feature’s properties

[`var kind: MapFeature.FeatureKind`](/documentation/MapKit/MapFeature/kind)

The kind of feature represented by the map feature.

[`struct FeatureKind`](/documentation/MapKit/MapFeature/FeatureKind)

The kind of feature represented by a map feature.

[`var coordinate: CLLocationCoordinate2D`](/documentation/MapKit/MapFeature/coordinate)

The coordinate of the map feature.

[`var title: String?`](/documentation/MapKit/MapFeature/title)

The title of the map feature.

[`var backgroundColor: Color?`](/documentation/MapKit/MapFeature/backgroundColor)

The background color associated with the map feature.

[`var image: Image?`](/documentation/MapKit/MapFeature/image)

An image associated with the map feature.

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

The point of interest category of the map feature.

## Relationships

### Conforms To

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

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

---

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)