SearchManager Class


The SearchManager class is the primary class used for performing forward and reverse geocode searches in the Search module.

SearchManager(map: Map)

The SearchManager class has the following methods available:

geocode(opt: GeocodeRequestOptions)Matches the address or place query in the specified request options to a location and returns the results to the request options callback function.
reverseGeocode(opt: ReverseGeocodeRequestOptions)Matches the specified location to an address and returns the address results to the specified request options callback function.