---
title: "itemForMultiPoint(itemCollection, geoJSON)"
framework: mapkitjs
role: symbol
role_heading: Interface Method
path: mapkitjs/geojsondelegate/itemformultipoint
---

# itemForMultiPoint(itemCollection, geoJSON)

Overrides a multipoint object.

## Declaration

```data
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

Return Value A map item or an array of map items.

## Discussion

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

## See Also

### Overriding items

- [itemForFeature(item, geoJSON)](mapkitjs/geojsondelegate/itemforfeature.md)
- [itemForFeatureCollection(itemCollection, geoJSON)](mapkitjs/geojsondelegate/itemforfeaturecollection.md)
- [itemForLineString(overlay, geoJSON)](mapkitjs/geojsondelegate/itemforlinestring.md)
- [itemForMultiLineString(itemCollection, geoJSON)](mapkitjs/geojsondelegate/itemformultilinestring.md)
- [itemForPoint(coordinate, geoJSON)](mapkitjs/geojsondelegate/itemforpoint.md)
- [itemForPolygon(overlay, geoJSON)](mapkitjs/geojsondelegate/itemforpolygon.md)
- [itemForMultiPolygon(itemCollection, geoJSON)](mapkitjs/geojsondelegate/itemformultipolygon.md)
- [styleForOverlay(overlay, geoJSON)](mapkitjs/geojsondelegate/styleforoverlay.md)
