forked from MapComplete/MapComplete
Docs: improve docs
This commit is contained in:
parent
123c50a5c0
commit
103ad364f9
1 changed files with 6 additions and 0 deletions
|
@ -50,6 +50,12 @@ export interface GeocodingOptions {
|
|||
|
||||
export default interface GeocodingProvider {
|
||||
readonly name: string
|
||||
|
||||
/**
|
||||
* Performs search.
|
||||
* Note: the result _must_ return an empty list in the case of no results.
|
||||
* Undefined might be interpreted by clients as "still running"
|
||||
*/
|
||||
search(query: string, options?: GeocodingOptions): Promise<GeocodeResult[]>
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue