<!--
{
  "availability" : [
    "MapKit JS: 5.74.1 - 6.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "MapKitJS",
  "identifier" : "/documentation/MapKitJS/MapFeatureAnnotation/fetchPlace",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "MapKit JS"
    ],
    "preciseIdentifier" : "instm/mapkit.MapFeatureAnnotation/fetchPlace"
  },
  "title" : "fetchPlace(callback)"
}
-->

# fetchPlace(callback)

Fetches the place object associated with the map feature.

```
fetchPlace(
    callback: (error: Error | null, result: Place | null) => void,
): Promise<Place | null>;
```

## Parameters

`callback`

Required. The framework invokes the callback function with two arguments, `error` and `data,` on success or failure:

- error — Contains an error code and a message that describes the error.
- data — A data object that contains an array with one [`Place`](/documentation/MapKitJS/Place) object associated with the map feature, or an empty array if the server can’t return the specified place.

---

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)