Search
An object that retrieves map-based search results for a user-entered query.
Declaration
class Search extends ServiceMentioned in
Overview
The search service allows developers to populate a map with results from a user-entered query, including information about businesses and other points of interest. MapKit JS provides this functionality through a search object that makes network requests to the search service.
Supplying search context creates the most relevant results for a query. Context may include the user’s location, or a coordinate or region that the developer provides.
To use the search service, create an instance of a search object with the desired options. Use the search object to make search requests.
Topics
Creating a search
Performing a search
Performing a search autocomplete
autocomplete(query, callback, options)SearchAutocompleteOptionsSearchAutocompleteResponseSearchAutocompleteResult