---
title: "reverseLookup(coordinate, callback, options)"
framework: mapkitjs
role: symbol
role_heading: Instance Method
path: mapkitjs/geocoder/reverselookup1
---

# reverseLookup(coordinate, callback, options)

Converts a geographic coordinate to an address.

## Declaration

```data
reverseLookup(
    coordinate: CoordinateData,
    callback: (
        error: Error | null,
        result: GeocoderResponse | null,
    ) => void,
    options?: GeocoderReverseLookupOptions,
): Promise<GeocoderResponse>;
```

## Parameters

- `coordinate`: The coordinate to convert to a human-readable address. For example, new ``Coordinate```(37.779268, -122.419248)`, which represents San Francisco City Hall.
- `callback`: MapKit JS invokes this callback function with two arguments, error on failure and data on success. If you cancel the request before you receive a response, the framework doesn’t call this function. error (Error). Contains an error code and descriptive message. data (doc://com.apple.mapkitjs/documentation/MapKitJS/GeocoderResponse). An object that contains an array of places named doc://com.apple.mapkitjs/documentation/MapKitJS/GeocoderResponse/results.
- `options`: doc://com.apple.mapkitjs/documentation/MapKitJS/GeocoderReverseLookupOptions/language is the only option that you can set for the reverse geocoder. For example, { language: 'fr-CA' } tells the server to send results localized to Canadian French. If you set it, this option overrides the language you provide in the doc://com.apple.mapkitjs/documentation/MapKitJS/Geocoder constructor.

## Return Value

Return Value A promise that resolves with a GeocoderResponse on success.

## Discussion

Discussion Reverse geocoding converts geographic coordinates to the nearest human-readable address.

## Topics

- [GeocoderReverseLookupOptions](mapkitjs/geocoderreverselookupoptions.md)

## See Also

### Deprecated

- [lookup(place, callback, options)](mapkitjs/geocoder/lookup1.md)
