<!--
{
  "availability" : [
    "MapKit JS: 5.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MapKitJS",
  "identifier" : "/documentation/MapKitJS/GeoJSONDelegate/itemForMultiPoint",
  "metadataVersion" : "0.1.0",
  "role" : "Interface Method",
  "symbol" : {
    "kind" : "Interface Method",
    "modules" : [
      "MapKit JS"
    ],
    "preciseIdentifier" : "structm/mapkit.GeoJSONDelegate/itemForMultiPoint"
  },
  "title" : "itemForMultiPoint(itemCollection, geoJSON)"
}
-->

# itemForMultiPoint(itemCollection, geoJSON)

Overrides a multipoint object.

```
itemForMultiPoint?<D extends GeoJSONTypes.MultiPoint>(
    itemCollection: ItemCollection<D>,
    geoJSON: D,
): ItemCollection<D> | Item[] | null;
```

## Parameters

`itemCollection`

A collection containing associated annotations.

`geoJSON`

The original GeoJSON object for the `MultiPoint`. This contains an array of geometries.

## Return Value

A map item or an array of map items.

## Discussion

MapKit JS calls this method for every `MultiPoint` object. The framework also calls this method after constructing subitems, and calling their delegate functions.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)