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

# itemForPoint(coordinate, geoJSON)

Overrides a point.

```
itemForPoint?(
    coordinate: Coordinate,
    geoJSON: GeoJSONTypes.Point,
): Item | null;
```

## Parameters

`coordinate`

A GeoJSON `Point` generates the coordinate. You can use the coordinate to instantiate an item to return.

`geoJSON`

The original GeoJSON object for the `Point`. This object may be a simple `Point` or a `Feature` with the `Point` geometry type.

## Return Value

An array of map items.

## Discussion

MapKit JS calls this method for every `Point` object. For a `MultiPoint` object or for a `GeometryCollection` of `Points` and `MultiPoints`, the framework calls [`itemForPoint()`](/documentation/MapKitJS/GeoJSONDelegate/itemForPoint) for each individual `Point` object.

---

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)