@goparrot/geocoder
Version:
TypeScript GeoCoder, node geocoding library, supports google maps, mapquest, here, open street map, tom tom
10 lines (9 loc) • 546 B
TypeScript
import { AbstractChainProvider } from '../model';
import type { GeocodeQueryInterface, ReverseQueryInterface, SuggestQueryInterface } from '../interface';
import type { AbstractHttpProvider, Location, Suggestion } from '../model';
export declare class ChainProvider extends AbstractChainProvider {
constructor(providers: AbstractHttpProvider[]);
geocode(query: GeocodeQueryInterface): Promise<Location[]>;
reverse(query: ReverseQueryInterface): Promise<Location[]>;
suggest(query: SuggestQueryInterface): Promise<Suggestion[]>;
}