Sample Code

Displaying an Indoor Map

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

Download

Overview

The sample app demonstrates decoding, rendering, and styling of a small subset of the IMDF feature types and their properties. Use these examples to create your own indoor map with a style that’s consistent with your app’s design. You’ll need to handle feature categories that are specific to your venue, and configure the map style using your own colors, icons, and level picker.

See Also

Geographical Features

class MKGeoJSONDecoder

An object that decodes GeoJSON objects into MapKit types.

Beta
class MKGeoJSONFeature

The decoded representation of a GeoJSON feature.

Beta
protocol MKGeoJSONObject

Objects that can be returned by the GeoJSON decoder.

Beta

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software