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

# MKGeoJSONFeature

The decoded representation of a GeoJSON feature.

```
class MKGeoJSONFeature
```

## Overview

A feature is an object with associated geometry and optional properties in JSON that you define. MapKit exposes these optional properties, but treats them as opaque. [`MKGeoJSONFeature`](/documentation/MapKit/MKGeoJSONFeature) is one of the classes that the GeoJSON decoder ([`MKGeoJSONDecoder`](/documentation/MapKit/MKGeoJSONDecoder)) can return.

See the GeoJSON standards specification [RFC 7946](https://tools.ietf.org/html/rfc7946#section-3.2) for more information about `Feature` objects.

## Topics

### Feature properties

[`geometry`](/documentation/MapKit/MKGeoJSONFeature/geometry)

The shape or shapes associated with the GeoJSON feature.

[`identifier`](/documentation/MapKit/MKGeoJSONFeature/identifier)

An optional identifier the class returns as a string.

[`properties`](/documentation/MapKit/MKGeoJSONFeature/properties)

Optional serialized JSON data that corresponds to the properties key.

## Relationships

### Conforms To

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

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

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

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

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

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

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

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