---
title: MKGeoJSONObject
framework: mapkit
role: symbol
role_heading: Protocol
path: mapkit/mkgeojsonobject
---

# MKGeoJSONObject

Objects that the GeoJSON decoder can return.

## Declaration

```swift
protocol MKGeoJSONObject : NSObjectProtocol
```

## Overview

Overview Classes that conform to this protocol represent the types that the GeoJSON decoder can return. There’s no reason to create your own classes that conform to this protocol; only MapKit can define classes that the GeoJSON decoder uses.

## Relationships

### Inherits From

- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

### Conforming Types

- [MKGeoJSONFeature](mapkit/mkgeojsonfeature.md)
- [MKGeodesicPolyline](mapkit/mkgeodesicpolyline.md)
- [MKMultiPoint](mapkit/mkmultipoint.md)
- [MKMultiPolygon](mapkit/mkmultipolygon.md)
- [MKMultiPolyline](mapkit/mkmultipolyline.md)
- [MKPointAnnotation](mapkit/mkpointannotation.md)
- [MKPolygon](mapkit/mkpolygon.md)
- [MKPolyline](mapkit/mkpolyline.md)

## See Also

### Geographical features

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