<!--
{
  "availability" : [
    "MapKit JS: 5.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MapKitJS",
  "identifier" : "/documentation/MapKitJS/SearchAutocompleteResult",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "MapKit JS"
    ],
    "preciseIdentifier" : "cl/mapkit.SearchAutocompleteResult"
  },
  "title" : "SearchAutocompleteResult"
}
-->

# SearchAutocompleteResult

The result of an autocomplete query, including display lines and a coordinate.

```
class SearchAutocompleteResult
```

## Overview

You can use search and search autocomplete in sequence by passing a [`SearchAutocompleteResult`](/documentation/MapKitJS/SearchAutocompleteResult) object as the query parameter of a search. For example, you can present the display strings of a collection of search autocomplete results to the user while maintaining a mapping to the original [`SearchAutocompleteResult`](/documentation/MapKitJS/SearchAutocompleteResult) object. When the user selects a result, make a search request with the corresponding [`SearchAutocompleteResult`](/documentation/MapKitJS/SearchAutocompleteResult) object to retrieve more information about the place.

## Topics

### Autocomplete results

[`coordinate: Coordinate | null;`](/documentation/MapKitJS/SearchAutocompleteResult/coordinate)

The coordinate of the result when it corresponds to a single place.

[`displayLines: string[];`](/documentation/MapKitJS/SearchAutocompleteResult/displayLines)

Lines of text to display to the user in an autocomplete menu.

### Instance Properties

[`administrativeArea: string | null;`](/documentation/MapKitJS/SearchAutocompleteResult/administrativeArea)

The name of the state or province of the place.

[`administrativeAreaCode: string | null;`](/documentation/MapKitJS/SearchAutocompleteResult/administrativeAreaCode)

The official abbreviation for the state or area.

[`alternateIds: string[] | null;`](/documentation/MapKitJS/SearchAutocompleteResult/alternateIds)

A list of alternate Place IDs that identify a feature.

[`areasOfInterest: string[] | null;`](/documentation/MapKitJS/SearchAutocompleteResult/areasOfInterest)

An array of common names of the area in which the place resides.

[`dependentLocalities: string[] | null;`](/documentation/MapKitJS/SearchAutocompleteResult/dependentLocalities)

An array of common names for the local area or neighborhood of the place.

[`fullThoroughfare: string | null;`](/documentation/MapKitJS/SearchAutocompleteResult/fullThoroughfare)

A combination of the thoroughfare and subthoroughfare.

[`id: string | null;`](/documentation/MapKitJS/SearchAutocompleteResult/id)

The Place ID that identifies a feature.

[`locality: string | null;`](/documentation/MapKitJS/SearchAutocompleteResult/locality)

The city of the place.

[`name: string | null;`](/documentation/MapKitJS/SearchAutocompleteResult/name)

The name of the place.

[`postCode: string | null;`](/documentation/MapKitJS/SearchAutocompleteResult/postCode)

The postal code of the place.

[`subLocality: string | null;`](/documentation/MapKitJS/SearchAutocompleteResult/subLocality)

The name of the area within the locality.

[`subThoroughfare: string | null;`](/documentation/MapKitJS/SearchAutocompleteResult/subThoroughfare)

The street number at the place.

[`thoroughfare: string | null;`](/documentation/MapKitJS/SearchAutocompleteResult/thoroughfare)

The street name at the 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)