UNPKG

universal-geocoder

Version:

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

45 lines 1.59 kB
import { MapQuestCoordinates } from "./.."; export interface MapQuestLocationObject { latLng?: MapQuestCoordinates; street?: string; adminArea1?: string; country?: string; adminArea3?: string; state?: string; adminArea4?: string; county?: string; adminArea5?: string; city?: string; postalCode?: string; type?: "s" | "v"; } export default class MapQuestLocation { private readonly latLng?; private readonly street?; private readonly adminArea1?; private readonly country?; private readonly adminArea3?; private readonly state?; private readonly adminArea4?; private readonly county?; private readonly adminArea5?; private readonly city?; private readonly postalCode?; private readonly type?; protected constructor({ latLng, street, adminArea1, country, adminArea3, state, adminArea4, county, adminArea5, city, postalCode, type, }: MapQuestLocationObject); static create(object: MapQuestLocationObject): MapQuestLocation; toObject(): MapQuestLocationObject; getLatLng(): undefined | MapQuestCoordinates; getStreet(): undefined | string; getAdminArea1(): undefined | string; getCountry(): undefined | string; getAdminArea3(): undefined | string; getState(): undefined | string; getAdminArea4(): undefined | string; getCounty(): undefined | string; getAdminArea5(): undefined | string; getCity(): undefined | string; getPostalCode(): undefined | string; getType(): undefined | "s" | "v"; } //# sourceMappingURL=MapQuestLocation.d.ts.map