UX: search doesn't eternally spin anymore, add debug name for searchProviders

This commit is contained in:
Pieter Vander Vennet 2025-02-03 11:43:43 +01:00
parent d00ccc9282
commit 1ecc63e5c8
10 changed files with 14 additions and 13 deletions

View file

@ -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