Class

ItemCollection

A tree structure containing annotations, overlays, and nested item collection objects.

Declaration

interface ItemCollection

Overview

Item collections can't be instantiated directly; they are returned by the importGeoJSON method.

Topics

Item Collection Properties

data

The raw GeoJSON data.

getFlattenedItemList

A flattened array of items that include annotations or overlays.

items

A nested list of annotations, overlays, or other item collections.

See Also

Geographical Features

Displaying Indoor Maps with MapKit JS

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

importGeoJSON

Converts imported GeoJSON data to MapKit JS items.

GeoJSONDelegate

A delegate object that controls a GeoJSON import in order to override default behavior and provide custom style.