forked from MapComplete/MapComplete
UX: search doesn't eternally spin anymore, add debug name for searchProviders
This commit is contained in:
parent
d00ccc9282
commit
1ecc63e5c8
10 changed files with 14 additions and 13 deletions
|
|
@ -8,6 +8,7 @@ import GeocodingProvider, { GeocodingOptions, SearchResult } from "./GeocodingPr
|
|||
export class NominatimGeocoding implements GeocodingProvider {
|
||||
private readonly _host
|
||||
private readonly limit: number
|
||||
public readonly name = "Nominatim"
|
||||
|
||||
constructor(limit: number = 3, host: string = Constants.nominatimEndpoint) {
|
||||
this.limit = limit
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue