Class

MKGeoJSONFeature

The decoded representation of a GeoJSON feature.

Declaration

@interface MKGeoJSONFeature : NSObject

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 can be returned by the GeoJSON decoder (MKGeoJSONDecoder).

See the GeoJSON standards specification RFC 7946 for more information about Feature objects.

Topics

Feature Properties

geometry

The shape or shapes associated with the GeoJSON feature.

identifier

An optional identifier that is returned as a string.

properties

Optional serialized JSON data that corresponds to the properties key.

Relationships

Inherits From

Conforms To

See Also

Geographical Features

Displaying an Indoor Map

Use the Indoor Mapping Data Format (IMDF) to show an indoor map with custom overlays and points of interest.

MKGeoJSONDecoder

An object that decodes GeoJSON objects into MapKit types.

MKGeoJSONObject

Objects that can be returned by the GeoJSON decoder.