Instance Property

naturalLanguageQuery

A string containing the desired search item.

Declaration

var naturalLanguageQuery: String? { get set }

Discussion

You specify this parameter as a string describing the map-based item you want to look for. The text is equivalent to what the user would type in a search field in the Maps app. For example, the text might contain all or part of an address or it might contain the name of a point of interest.

See Also

Configuring the Search Parameters

var region: MKCoordinateRegion

A map region that provides a hint as to where to search.

var pointOfInterestFilter: MKPointOfInterestFilter?

A filter that lists point of interest categories to include or exclude in search results.

Beta
var resultTypes: MKLocalSearch.ResultType

The types of items to include in the search results.

Beta
typealias MKLocalSearch.Request.ResultType

Options that indicate types of search results.