---
title: MKGeoJSONFeature
framework: mapkit
role: symbol
role_heading: Class
path: mapkit/mkgeojsonfeature
---

# MKGeoJSONFeature

The decoded representation of a GeoJSON feature.

## Declaration

```swift
class MKGeoJSONFeature
```

## Overview

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 is one of the classes that the GeoJSON decoder (MKGeoJSONDecoder) can return. See the GeoJSON standards specification RFC 7946 for more information about Feature objects.

## Topics

### Feature properties

- [geometry](mapkit/mkgeojsonfeature/geometry.md)
- [identifier](mapkit/mkgeojsonfeature/identifier.md)
- [properties](mapkit/mkgeojsonfeature/properties.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [MKGeoJSONObject](mapkit/mkgeojsonobject.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Geographical features

- [Displaying an Indoor Map](mapkit/displaying-an-indoor-map.md)
- [MKGeoJSONDecoder](mapkit/mkgeojsondecoder.md)
- [MKGeoJSONObject](mapkit/mkgeojsonobject.md)
