UNPKG

universal-geocoder

Version:

Universal geocoding abstraction server-side and client-side with multiple built-in providers

21 lines 774 B
import { Coordinates } from "../types"; export interface ReverseQueryObject { readonly coordinates: Coordinates; readonly locale?: string; readonly limit?: number; } export default class ReverseQuery { private readonly coordinates; private readonly locale?; private readonly limit; protected constructor({ coordinates, locale, limit, }: ReverseQueryObject); static create(object: ReverseQueryObject): ReverseQuery; toObject(): ReverseQueryObject; withCoordinates(coordinates: Coordinates): ReverseQuery; withLocale(locale: string): ReverseQuery; withLimit(limit: number): ReverseQuery; getCoordinates(): Coordinates; getLocale(): undefined | string; getLimit(): number; } //# sourceMappingURL=ReverseQuery.d.ts.map