new OsmGeocoder(options)
A class for geocoding
Parameters:
| Name | Type | Description |
|---|---|---|
options |
Object.<string, Object> | Constructor options |
- Source:
Methods
-
search(input)
-
Search for a location
Parameters:
Name Type Description inputstring Input
- Source:
Returns:
The result of the search request
- Type
- Promise.<Object>